Hi,

I've configured Kannel on Ubuntu and I have no issues if I try to send
messages with my clickatell account.

Nevertheless, I'm not able to get Kannel modem configuration right
using my Nokia E90 phone. A briefing of the configuration has been
included below

#SMSC SETUP: Nokia E90 GSM Modem
group = smsc
smsc = at
smsc-id = nokiae90
modemtype = Nokia
device=/dev/ttyACM0
speed = 460800
pin = xxxx

# Modem SETUP
group = modems
id = Nokia
name = "Nokia"
#init-string = "ATZ"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT+CNMI=0,0,0,0,0"
#init-string = "AT+CNMI=1,0,1,2,0"
detect-string = "Nokia Mobile Phone"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ"

The output of status when starting smsbox is shown below:


r...@ubu1004:/etc/kannel# lynx -dump
"http://localhost:13000/status?password=fcsadmin";
   Kannel bearerbox version `1.4.3'. Build `Jun 11 2010 06:46:37',
   compiler `4.4.3'. System Linux, release 2.6.32-22-generic, version
   #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010, machine i686. Hostname
   ubu1004, IP 127.0.1.1. Libxml version 2.7.6. Compiled with MySQL
   5.1.41, using MySQL 5.1.41. Using native malloc.

   Status: running, uptime 0d 0h 14m 35s

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

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

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

   DLR: 0 queued, using internal storage

   Box connections:
       smsbox:fcs_smsbox, IP 127.0.0.1 (0 queued), (on-line 0d 0h 14m 33s)

   SMSC connections:
       nokiae90    AT2[nokiae90] (connecting, rcvd 0, sent 0, failed 0,
   queued 0 msgs)

I'm able to send SMS with no issue using "gsmsendsms -d /dev/ttyACM0
0692032105 “hello”

The output of "wvdialconf" command is included below

ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

I would greatly appreciate an advice from a senior person as to how I
can get the nokia modem status to on-line.

Thanks and regards,
Gjergji

Reply via email to