My modem conf is

group = smsc
smsc = at
modemtype = nokiaphone
#modemtype = auto
#device = /dev/ttyACM1
device = /dev/ttyUSB0
#or output of lsusb
#speed = 9600
speed = 115200
my-number = +923004400262
connect-allow-ip = 127.0.0.1
log-file = "/usr/local/kannel/log/nokia-smsc.log"
log-level = 0
sim-buffering = true
keepalive = 1

# MODEMS
group = modems
id = nokiaphone
name = nokiaphone
detect-string = "NOKIA"
#detect-string = "Nokia Mobile Phone"
detect-string2 = "6630"
#init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"
init-string = "AT+CNMI=0,0,0,0,0"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ"
message-storage = "SM"
#enable-mms = true
#no-pin = true
#speed = 460800

I always get AT2 status "connecting" from localhost:13000/status which is
given below. I dont know whats wrong. Mobile working fine with minicom at
USB0.

Kannel bearerbox version `1.4.1'. Build `Jul 28 2008 16:31:25', compiler
`4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)'. System Linux,
release 2.6.12-9-386, version #1 Mon Oct 10 13:14:36 BST 2005, machine
i686. Hostname localhost.localdomain, IP 127.0.0.1. Libxml version 2.6.31.
Using native malloc.

Status: running, uptime 0d 0h 0m 40s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 0 (0 queued), sent 0 (0 queued), store size -1

SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec

DLR: 0 queued, using internal storage

Box connections:
    smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 35s)

SMSC connections:
    FAKE    FAKE:10000 (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
    unknown    AT2[/dev/ttyUSB0] (connecting, rcvd 0, sent 0, failed 0,
queued 0 msgs)


If anyone can figure it out, it will be a big favor,

regards

usman

Reply via email to