Thanx, but in my kannel.conf, I've defined : sendsms-port = 13001
And if I try with the 13013's port, lynx says that it don't know this host. Ju. On Sun, Sep 13, 2009 at 16:24, sapna singh <[email protected]> wrote: > > > http://127.0.0.1:13001/cgi-bin/sendsms?username=ju&password=test&from=**********&to=**********&text=mySMS'<http://127.0.0.1:13001/cgi-bin/sendsms?username=ju&password=test&from=**********&to=**********&text=mySMS%27> > > Chk your PORT it should be 13013 > > > Regards > Sapna > On Sun, Sep 13, 2009 at 4:10 PM, Ju <[email protected]> wrote: > >> 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. >> > > > > -- > Regards > Sapna >
