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 <nbalka...@gmail.com>

> 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" <
> gjergji.g...@facilization.com>
> To: <users@kannel.org>
> 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
>
>
2010-06-30 08:42:38 [12907] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'.
2010-06-30 08:42:38 [12907] [0] INFO: HTTP: Opening server at port 13011.
2010-06-30 08:42:38 [12907] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2010-06-30 08:42:38 [12907] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2010-06-30 08:42:38 [12907] [0] INFO: Set up send sms service at port 13011
2010-06-30 08:42:38 [12907] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2010-06-30 08:42:38 [12907] [0] DEBUG: ----------------------------------------------
2010-06-30 08:42:38 [12907] [0] DEBUG: Kannel smsbox version 1.4.3 starting
2010-06-30 08:42:38 [12907] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 12907.
2010-06-30 08:42:38 [12907] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 12907.
2010-06-30 08:42:38 [12907] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 12907.
2010-06-30 08:42:38 [12907] [0] DEBUG:   dumping group (sendsms-user):
2010-06-30 08:42:38 [12907] [0] DEBUG:     <faked-sender> = <FZ Sh.p.k>
2010-06-30 08:42:38 [12907] [0] DEBUG:     <group> = <sendsms-user>
2010-06-30 08:42:38 [12907] [0] DEBUG:     <default-smsc> = <nokiae90>
2010-06-30 08:42:38 [12907] [0] DEBUG:     <max-messages> = <3>
2010-06-30 08:42:38 [12907] [0] DEBUG:     <username> = <fcsuser>
2010-06-30 08:42:38 [12907] [0] DEBUG:     <password> = <fcsuser>
2010-06-30 08:42:38 [12907] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2010-06-30 08:42:38 [12907] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2010-06-30 08:42:38 [12907] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 12907.
2010-06-30 08:42:38 [12907] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
2010-06-30 08:42:38 [12907] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 12907.
2010-06-30 08:42:38 [12907] [0] INFO: Connected to bearerbox at localhost port 13001.
2010-06-30 08:42:38 [12907] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
2010-06-30 08:42:38 [12907] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 12907.
2010-06-30 08:42:38 [12907] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 12907.
2010-06-30 08:43:53 [12907] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2010-06-30 08:43:53 [12907] [2] DEBUG: HTTP: Created HTTPClient area 0x8e74cd0.
2010-06-30 08:43:53 [12907] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2010-06-30 08:43:53 [12907] [3] INFO: sendsms used by <fcsuser>
2010-06-30 08:43:53 [12907] [3] INFO: sendsms sender:<fcsuser:FZ Sh.p.k> (127.0.0.1) to:<355692032105> msg:<Miremengjes>
2010-06-30 08:43:53 [12907] [3] DEBUG: Stored UUID bb5263bd-1076-49ef-be62-c6e035a157fd
2010-06-30 08:43:53 [12907] [3] DEBUG: message length 11, sending 1 messages
2010-06-30 08:43:53 [12907] [3] DEBUG: Status: 202 Answer: <Sent.>
2010-06-30 08:43:53 [12907] [3] DEBUG: Delayed reply - wait for bearerbox
2010-06-30 08:43:53 [12907] [0] DEBUG: Got ACK (3) of bb5263bd-1076-49ef-be62-c6e035a157fd
2010-06-30 08:43:53 [12907] [0] DEBUG: HTTP: Destroying HTTPClient area 0x8e74cd0.
2010-06-30 08:43:53 [12907] [0] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.

Attachment: kannel.conf
Description: Binary data

Reply via email to