Bearbox starting couldn't be.its gives.

2011-07-01 15:02:05 [18638] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2011-07-01 15:02:05 [18638] [0] ERROR: Group 'modems' may not contain field
'message-start'.
2011-07-01 15:02:05 [18638] [0] ERROR: Error found on line 68 of file
`ppp/kannel.conf'.
2011-07-01 15:02:05 [18638] [0] PANIC: Couldn't read configuration from
`ppp/kannel.conf'.
2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox(gw_panic+0xcd) [0x80cdb5d]
2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox(main+0xcf8) [0x8054698]
2011-07-01 15:02:05 [18638] [0] PANIC:
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xdf4bd6]
2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox() [0x8052c61]


kannel.conf file has:


#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 = abc
#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 3110c
smsc = at
modemtype = Nokia 3110c
device= /dev/ttyACM0
my-number = +917589124248
connect-allow-ip = 127.0.0.1
#sim-buffering = true
log-level = 0

# DLR with MySQL support configuration
group = mysql-connection
id = mydlr
host = localhost
username = root
password = 12345
database = kan

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 = nokia
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=0,1"
#message-storage = SM
message-start = 0
#speed = 460800
#message-start = 0

group = smsbox
smsbox-id = mysmsc
bearerbox-host = localhost
#bearerbox-port = 13018
#18 port is for sms-servicce that is to start the smsbox
sendsms-port = 13018
global-sender = +917589124248
access-log = "/var/log/kannel/smsbox-access.log"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
mo-recode = true

group = sendsms-user
username = gndec
password = abc
concatenation= true
max-messages = 10000

group = sms-service
keyword-regex = .*
text = "Thanks for sending SMS"
catch-all = yes
accepted-smsc = Nokia 3110c
max-messages = 3
#get-url = "http://localhost/sms.php?phone=%p&text=%a";


Please somebody help

Thanks in advacne

amritpalpathakgne.wordpress.com

Reply via email to