Hi,

smsbox look fine. Please post detailed bearerbox logs from when receiving sms...

BR,
Nikos
----- Original Message ----- From: "Juxener" <j...@jsand.net>
To: <users@kannel.org>
Sent: Sunday, September 13, 2009 1:44 PM
Subject: Bearerbox and smsbox work, but I can't sending sms



Hi.

I'v an issue.... Kannel works, smsbox works, but I can't sending any SMS.

When I execute bearerbox :
[...]
2009-09-13 14:03:24 [2371] [4] INFO: AT2[siemensVolant]: opening device
2009-09-13 14:03:24 [2371] [4] DEBUG: AT2[siemensVolant]: device opened
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: device opened
2009-09-13 14:03:25 [2371] [4] INFO: AT2[siemensVolant]: init device
2009-09-13 14:03:25 [2371] [4] INFO: AT2[siemensVolant]: speed set to 19200
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> ATZ^M
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT^M
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- AT
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT&F^M
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- AT&F
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> ATE0^M
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- ATE0
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT+IFC=2,2^M
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT+CPIN?^M
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- +CPIN: READY
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT+CMGF=0^M
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT+CSMS=?^M
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- +CSMS:
(0,1,128)
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:26 [2371] [4] INFO: AT2[siemensVolant]: Phase 2+ is
supported
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT+CSMS=1^M
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- +CSMS: 1,1,1
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: -->
AT+CNMI=1,2,0,0,0^M
2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
2009-09-13 14:03:26 [2371] [4] INFO: AT2[siemensVolant]: AT SMSC
successfully opened.

And when I execute smsbox :
[...]
2009-09-13 14:17:18 [2585] [0] DEBUG: Kannel smsbox version 1.4.1 starting
2009-09-13 14:17:18 [2585] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
maps to pid 2585.
2009-09-13 14:17:18 [2585] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 2585.
2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2009-09-13 14:17:18 [2585] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 2585.
2009-09-13 14:17:18 [2585] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 2585.
2009-09-13 14:17:18 [2585] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 2585.
2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2009-09-13 14:17:18 [2585] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2009-09-13 14:17:18 [2585] [2] DEBUG: HTTP: Created HTTPClient area
0x8784220.
2009-09-13 14:17:18 [2585] [0] INFO: Connected to bearerbox at localhost
port 13001.
2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)
2009-09-13 14:17:18 [2585] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 2585.

If I try to send SMS, with :
lynx -dump
'http://127.0.0.1:13001/cgi-bin/sendsms?username=ju&password=test&from=**********&to=**********&text=mySMS'

In the smsbox's log, I've :
2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Created HTTPClient area
0x88ce288.
2009-09-13 14:32:33 [2626] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2009-09-13 14:32:33 [2626] [3] INFO: sendsms used by <ju>
2009-09-13 14:32:33 [2626] [3] INFO: sendsms sender:<ju:0648682255>
(127.0.0.1) to:<0671555141> msg:<heheLamiVendredi>
2009-09-13 14:32:33 [2626] [3] DEBUG: Stored UUID
5d776909-2ea9-4230-bb3c-42b070cf1f91
2009-09-13 14:32:33 [2626] [3] DEBUG: message length 16, sending 1 messages
2009-09-13 14:32:33 [2626] [3] DEBUG: Status: 202 Answer: <Sent.>
2009-09-13 14:32:33 [2626] [3] DEBUG: Delayed reply - wait for bearerbox
2009-09-13 14:32:33 [2626] [1] DEBUG: HTTP: Destroying HTTPClient area
0x88d0250.
2009-09-13 14:32:33 [2626] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2009-09-13 14:32:33 [2626] [0] ERROR: Connection closed by the bearerbox.
2009-09-13 14:32:33 [2626] [0] INFO: Received (and handled?) 0 requests in
24 seconds (0.00 per second)
2009-09-13 14:32:33 [2626] [0] INFO: Kannel smsbox terminating.
2009-09-13 14:32:33 [2626] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) terminates.
2009-09-13 14:32:33 [2626] [0] DEBUG: Waiting for 2
(gwlib/http.c:server_thread) to terminate
2009-09-13 14:32:33 [2626] [3] DEBUG: HTTP: No clients with requests,
quitting.
2009-09-13 14:32:33 [2626] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
terminates.
2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Destroying HTTPClient area
0x88ce288.
2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2009-09-13 14:32:33 [2626] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
terminates.
2009-09-13 14:32:33 [2626] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
terminates.
2009-09-13 14:32:33 [2626] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) terminates.
2009-09-13 14:32:33 [2626] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) terminates.
2009-09-13 14:32:33 [2626] [0] DEBUG: Waiting for 5
(gw/smsbox.c:url_result_thread) to terminate
2009-09-13 14:32:33 [2626] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) terminates.
2009-09-13 14:32:33 [2626] [0] DEBUG: Immutable octet strings: 177

But none SMS sent...
I've a M20 Siemens.

Do you know why I can't send SMS ?

Thanx a lot in advance for your help.
Ju.
--
View this message in context: http://www.nabble.com/Bearerbox-and-smsbox-work%2C-but-I-can%27t-sending-sms-tp25422111p25422111.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Reply via email to