When i start the bearbox ,after getting start it gives the error message
like below.
2011-07-09 13:53:14 [9477] [6] INFO: AT2[Nokia 3110c]: speed set to 115200
2011-07-09 13:53:15 [9477] [6] ERROR: AT2[Nokia 3110c]: Generic error: ERROR
2011-07-09 13:53:15 [9477] [6] ERROR: AT2[Nokia 3110c]: Initialization of
device failed.
2011-07-09 13:53:15 [9477] [6] INFO: AT2[Nokia 3110c]: Closing device
2011-07-09 13:53:16 [9477] [6] ERROR: AT2[Nokia 3110c]: Couldn't connect
(retrying in 10 seconds).
2011-07-09 13:53:26 [9477] [6] INFO: AT2[Nokia 3110c]: opening device
2011-07-09 13:53:26 [9477] [6] INFO: AT2[Nokia 3110c]: Logging in
2011-07-09 13:53:26 [9477] [6] INFO: AT2[Nokia 3110c]: init device
2011-07-09 13:53:26 [9477] [6] INFO: AT2[Nokia 3110c]: speed set to 115200
2011-07-09 13:53:27 [9477] [6] ERROR: AT2[Nokia 3110c]: Generic error: ERROR
2011-07-09 13:53:27 [9477] [6] ERROR: AT2[Nokia 3110c]: Initialization of
device failed.
2011-07-09 13:53:27 [9477] [6] INFO: AT2[Nokia 3110c]: Closing device
2011-07-09 13:53:27 [9477] [6] ERROR: AT2[Nokia 3110c]: Couldn't connect
(retrying in 10 seconds).
I have connected my modem to port at tty/ACM0
and i am sure about it.What could be the cause for it ?
Smsbox is running well.
My kannel.conf file has following look:
#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 = kannel
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"
Thanks in advance !!
amritpalpathak.blogspot.com