bearerbox can't start on CYGWIN
"Joseph G. Mercado" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <5A87AC69989B4741BBD9DB0CB59BF0D2017E68@mail1> |
Hi list;
I m trying to start bearerbox.exe using cygwin on WIN32
platform. I get error
2004-06-02 11:38:78 [0] INFO: Debug_lvl = -1, log_file=<none>, log_lvl 0
2004-06-02 11:38:78 [0] ERROR: Group does not containe variable 'group'.
2004-06-02 11:38:78 [0] ERROR:Error found on line 20 of gile
'../conf/kannel.conf'.
2004-06-02 11:38:78 [0] PANIC: Could'nt read configuration from
'../conf/kannel.conf'.
Attached is my kannel.conf and modems.conf. Im using WINXP
modems.conf
(application/octet-stream, 1.8 KB)
# Modems configuration # # Example and default values # # group = modems # id = "my-id" # name = "my-name" # detect-string = "MODEM" # detect-string2 = "" [Default] # init-string = "AT+CNMI=1,2,0,0,0" [Default] # speed = 9600 [Default] # enable-hwhs = "AT+IFC=2,2" [Default] # need-sleep = false [Default] # no-pin = false [Default] # no-smsc = false [Default] # sendline-sleep = 100 [Default, miliseconds] # keepalive-cmd = "AT" [Default] # broken = false [Default] # message-storage = "SM" # enable-mms = false [Default] # If modemtype=auto, try everyone and defaults to this one group = modems id = generic name = "Generic Modem" group = modems id = wavecom name = Wavecom detect-string = "WAVECOM" group = modems id = premicell name = Premicell detect-string = "PREMICEL" no-pin = true no-smsc = true group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "TC35" init-string = "AT+CNMI=1,2,0,0,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true group = modems id = siemens_m20 name = "Siemens M20" detect-string = "SIEMENS" detect-string2 = "M20" speed = 19200 enable-hwhs = "AT\\Q3" keepalive-cmd = "AT+CBC;+CSQ" need-sleep = true group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = true group = modems id = falcom name = "Falcom" detect-string = "Falcom" no-smsc = true group = modems id = ericsson_r520m name = "Ericsson R520m" detect-string = "R520m" init-string = "AT+CNMI=3,2,0,0" group = modems id = ericsson_t68 name = "Ericsson T68" detect-string = "T68" init-string = "AT+CNMI=3,3" keepalive-cmd = "AT+CBC;+CSQ" broken = true group = modems id = alcatel name = "Alcatel" detect-string = "Alcatel" init-string = "AT+CNMI=3,2,0,0"
kannel.conf
(application/octet-stream, 1.8 KB)
# THIS IS A SAMPLE CONFIGURATION FOR KANNEL # # For any modifications to this file, see Kannel User Guide # If that does not help, send email to [email protected] # group = core admin-port = 13000 admin-password = bar log-file = "c:\kannel.log" log-level = 0 access-log = "c:\access.log" # Smsbox related smsbox-port = 13001 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" unified-prefix = "+63,63;+,00" store-file = "c:\kannel.store" # SMSC GSM group = smsc smsc = at modemtype = siemens-mc35 device = /dev/com1 pin = 2345 validityperiod = 167 include = "/usr/local/kannel/conf/modems.conf" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 #sendsms-chars = "0123456789 +-" global-sender = 12345 log-file = "c:\smsbox.log" log-level = 0 access-log = "c:\access.log" # SEND-SMS USERS group = sendsms-user username = sss password = infotext max-messages = 3 # this sender is for Kannel relay testing (http_smsc) group = sendsms-user username = kannel password = rL4y user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" # SMS SERVICE GET-URL EXAMPLE group = sms-service keyword = relay get-url = "http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t # SMS SERVICE black-list group = sms-service keyword = block text = "You are not alowed to use this service, Go away!" group = sms-service keyword = mdi get-url = "http://192.168.40.223/magnus/tomagnus.php?num=%p&msg=%r" max-messages = 0 omit-empty = true group = sms-service keyword = bir get-url = "http://192.168.40.223/bir/tinver.php?num=%p&msg=%r" max-messages = 3 #omit-empty = true ## catch vcard group = sms-service keyword = magnus get-url = "http://localhost/magnus/vcardhandler.php?num=%p&message=%a" max-messages = 0 # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = "No service specified"