Hi,
Please, when requesting help from list attach relevant logs at maximujm
detail (verbosity = 0). These logs don't show anything.
BR,
Nikos
----- Original Message -----
From: "ravurisuman" <[email protected]>
To: <[email protected]>
Sent: Saturday, July 11, 2009 1:33 PM
Subject: Unable to connect to the nokia 3110c GSM mobile
Bearer box is unable to connect to nokia 3110c mobile. It is throwing the
following error.
Logs:
2009-07-12 02:41:07 [3104] [6] INFO: AT2[/dev/ttyACM0]: opening device
2009-07-12 02:41:07 [3104] [6] INFO: AT2[/dev/ttyACM0]: Logging in
2009-07-12 02:41:07 [3104] [6] INFO: AT2[/dev/ttyACM0]: init device
2009-07-12 02:41:07 [3104] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
2009-07-12 02:41:08 [3104] [6] INFO: AT2[/dev/ttyACM0]: AT SMSC successfully
opened.
2009-07-12 02:41:10 [3104] [6] INFO: AT2[/dev/ttyACM0]: Closing device
2009-07-12 02:41:10 [3104] [6] ERROR: AT2[/dev/ttyACM0]: Couldn't connect
(retrying in 10 seconds).
Please see the configuration file below
[r...@localhost etc]# cat kannel.conf
# Default kannel configuration file
#core group 'mandatory'
group = core
#port for http administration
admin-port = 13000
admin-password = empower
#status-password = hard2guess
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#For SMS gateway
smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1
#Access log
#access-log = "/var/log/kannel/access.log"
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyACM0
my-number = "+919866281428"
#speed = 460800
#pin = 1234
sim-buffering = true
log-level = 0
# MODEM DEFINITIONS
group = modems
id = nokia
name = "Nokia 3110c"
detect-string = "Nokia"
init-string = "ATZ"
init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
group = smsbox
bearerbox-host = 127.0.0.1
#we use sendsms-port for sending sms (http)
sendsms-port = 13013
global-sender = "+919866281428"
log-file = /var/log/kannel/smsbox.log
log-level = 0
group = sendsms-user
username = kannel
password = empower
concatenation = true
max-messages = 10
#group = smsΞ’Βservice
#keyword = nop
#catchΞ’Βall = yes
#text = "NOP performed"
group = sms-service
#keyword =
keyword-regex = .*
catch-all = true
text = "Hello world!"
#get-url = "http://localhost/sms/index.php?phone=%p&text=%a"
#group = sms-service
#keyword = default
#text = "No action specified"
I am using fedora11.0
Kannel 1.4.3
I suspect init-string in modem definitions, is it same for all the mobiles,
or changes from one handset to another handset, If it is generating how to
change that?
--
View this message in context:
http://www.nabble.com/Unable-to-connect-to-the-nokia-3110c-GSM-mobile-tp24439133p24439133.html
Sent from the Kannel - User mailing list archive at Nabble.com.