Dear All, I resolved the issue of the modem staying under the "Connecting Stage". The reason was access permissions. Though, I start kannel as a root user it seemed that it did not have access to /dev/ttyACM0 or /dev/bus/usb/002 port.
I had to change the permission of the port. Is this normal? Regards, Gjergji On Wed, Jun 30, 2010 at 8:53 AM, Gjergji Guri <[email protected] > wrote: > Hi Nikos, > > I've attached the smsbox log. > > The command that I use for sendning a message is > lynx -dump " > http://localhost:13011/cgi-bin/sendsms?username=fcsuser&password=fcsuser&from=FZSh.p.k&to=355692032105&text=Hello" > > or I can use a web browser similarly. The command works with a web gateway > like for example Clickatell. > > I get "3: Queued for later delivery". I've played a lot with configuration > strings as advised in the manual. The other commands as explained in my > previous e-mail work. > > I'm attaching the kannel.conf file. > > Looking forward of some help or advice, > > Cheers, > Gjergji > > > > > 2010/6/26 Nikos Balkanas <[email protected]> > > Hi, >> >> Please read latest User's guide. There is a special section devoted to >> modem initialization. If that doesn't help, post detailed bb + smsbox logs >> of modem initialization and attempt to push. Also post your push url. >> >> BR, >> Nikos >> ----- Original Message ----- From: "Gjergji Guri" < >> [email protected]> >> To: <[email protected]> >> Sent: Saturday, June 26, 2010 5:48 PM >> >> Subject: Problem in Pushing SMS messages using Nokia E90 model >> >> >> 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 >> >> >
