Hi There is a space after device= /dev/ttyUSB1. Group definition should not have any space. Space marks groups separation.
|-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Mon, Jul 25, 2011 at 2:28 AM, Amrit Pal Pathak <amritpalpath...@gmail.com> wrote: > when i start bearerbox it gives the following error. > > 2011-07-25 12:56:05 [29476] [0] INFO: Debug_lvl = 1, log_file = <none>, > log_lvl = 0 > 2011-07-25 12:56:05 [29476] [0] ERROR: Group does not contain variable > 'group'. > 2011-07-25 12:56:05 [29476] [0] ERROR: Error found on line 43 of file > `kannel/kannel.conf'. > 2011-07-25 12:56:05 [29476] [0] PANIC: Couldn't read configuration from > `kannel/kannel.conf'. > 2011-07-25 12:56:05 [29476] [0] PANIC: bearerbox(gw_panic+0xcd) [0x80d088d] > 2011-07-25 12:56:05 [29476] [0] PANIC: bearerbox(main+0xdc8) [0x80543b8] > 2011-07-25 12:56:05 [29476] [0] PANIC: > /lib/libc.so.6(__libc_start_main+0xe7) [0x9d7ce7] > 2011-07-25 12:56:05 [29476] [0] PANIC: bearerbox() [0x80528b1] > > > kannel.conf file looks like: > > > #Sample configuration file for Kannel bearerbox on Debian. > # See the documentation for explanations of fields. > # > > # HTTP administration is disabled by default. Make sure you set the > # password if you enable it. > > group = core > admin-port = 13015 > admin-password = hard2guess > #admin-deny-ip = "*.*.*.*" > admin-allow-ip = "127.0.0.1" > dlr-storage = internal > smsbox-port = 13016 > #wdp-interface-name = "*" > log-file = "/var/log/kannel/bearerbox.log" > access-log = "/var/log/kannel/access.log" > #box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > log-level = 0 > > #group = wapbox > #bearerbox-host = localhost > #log-file = "/var/log/kannel/wapbox.log" > group = smsc > smsc-id = Nokia 5800 XpressMusic > smsc = at > modemtype = auto > device= /dev/ttyUSB1 > > my-number = +919855225007 > connect-allow-ip = 127.0.0.1 > sim-buffering = true > log-level = 0 > #log-file = "/var/log/kannel/smsc.log" > # DLR with MySQL support configuration > #group = mysql-connection > #id = mydlr > #host = localhost > #username = root > #password = GndeC > #database = adbook > > #group = dlr-db > #id = mydlr > #table = dlr > #field-smsc = smsc > #field-timestamp = ts > #field-source=source > #field-destination = destination > #field-service = service > #field-url = url > #field-mask = mask > #field-status = status > #field-boxc-id = boxc > > group = modems > id = auto > name = "Nokia" > detect-string = "Nokia" > init-string = "ATZ" > #init-string = "AT+CMEE=1" > #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1" > #message-storage = SM > message-start = 0 > #speed = 460800 > #message-start = 0 > > group = smsbox > smsbox-id = mysmsc > bearerbox-host = localhost > #bearerbox-port = 13018 > sendsms-port = 13018 > global-sender = +919855225007 > access-log = "/var/log/kannel/smsbox-access.log" > log-file = "/var/log/kannel/smsbox.log" > log-level = 0 > mo-recode = true > > group = smsbox-route > smsbox-id = mysmsc > smsc-id = Nokia 5800 XpressMusic > > group = sendsms-user > username = gndec > password = hard2guess > concatenation= true > max-messages = 10000 > > group = sms-service > keyword-regex = .* > text = "Thanks for sending SMS" > catch-all = true > accepted-smsc = Nokia 5800 XpressMusic > max-messages = 3 > #get-url = "http://202.164.53.116/~harbhag/test.php?phone=%p&text=%r" > > > Please somebody help > Thank you > > amritpalpathak.blogspot.comm >