Hi Fellows I'm having the following problem
When sending msg through the http option: http://localhost:13013/cgi-bin/sendsms?username=user&password=pass&to=5537338667&text=my+test1234 I get no response from bearerbox. The webbrowser keeps waiting for an answer until it times out; eventhough the message is sent and received on the remote device. Any ideas?? Here are the logs: SMSBOX: 2007-03-26 19:06:34 [14771] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 14771. 2007-03-26 19:06:56 [14771] [2] DEBUG: HTTP: Creating HTTPClient for `192.168.15.1'. 2007-03-26 19:06:56 [14771] [2] DEBUG: HTTP: Created HTTPClient area 0x8298f60. 2007-03-26 19:06:56 [14771] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <192.168.15.1> 2007-03-26 19:06:56 [14771] [3] INFO: sendsms used by <user> 2007-03-26 19:06:56 [14771] [3] INFO: sendsms sender:<user:13013> (192.168.15.1) to:<5537338667> msg:<my test1234> 2007-03-26 19:06:56 [14771] [3] DEBUG: Stored UUID 6732f553-11dc-42dd-9e5b-5188dd37bcce 2007-03-26 19:06:56 [14771] [3] DEBUG: message length 11, sending 1 messages 2007-03-26 19:06:56 [14771] [3] DEBUG: Status: 202 Answer: <Sent.> 2007-03-26 19:06:56 [14771] [3] DEBUG: Delayed reply - wait for bearerbox 2007-03-26 19:06:56 [14771] [0] DEBUG: Got ACK (0) of 00d0e965-f197-46bc-bdfb-9cd91b35acdd 2007-03-26 19:06:56 [14771] [0] DEBUG: No client - multi-send or ACK to pull-reply BEARERBOX : 2007-03-26 19:06:22 [14728] [0] DEBUG: Immutable octet strings: 212. 2007-03-26 19:06:29 [14768] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2007-03-26 19:06:29 [14768] [0] INFO: Started access logfile `/var/log/kannel/beareraccess.log'. 2007-03-26 19:06:29 [14768] [0] INFO: HTTP: Opening server at port 13000. 2007-03-26 19:06:29 [14768] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2007-03-26 19:06:29 [14768] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2007-03-26 19:06:29 [14768] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2007-03-26 19:06:29 [14768] [0] DEBUG: starting smsbox connection module 2007-03-26 19:06:29 [14768] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2007-03-26 19:06:29 [14768] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2007-03-26 19:06:29 [14768] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2007-03-26 19:06:29 [14768] [0] INFO: Set SMS resend frequency to 60 seconds. 2007-03-26 19:06:29 [14768] [0] INFO: SMS resend retry set to unlimited. 2007-03-26 19:06:29 [14768] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2007-03-26 19:06:29 [14768] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 2007-03-26 19:06:29 [14768] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2007-03-26 19:06:29 [14768] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2007-03-26 19:06:29 [14768] [0] INFO: ---------------------------------------- 2007-03-26 19:06:29 [14768] [0] INFO: Kannel bearerbox II version cvs-20070227 starting 2007-03-26 19:06:29 [14768] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 14768. 2007-03-26 19:06:29 [14768] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 14768. 2007-03-26 19:06:29 [14768] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 14768. 2007-03-26 19:06:29 [14768] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14768. 2007-03-26 19:06:29 [14768] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 14768. 2007-03-26 19:06:29 [14768] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 14768. 2007-03-26 19:06:29 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type 2007-03-26 19:06:29 [14768] [6] INFO: AT2[/dev/ttyACM0]: opening device 2007-03-26 19:06:29 [14768] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 14768. 2007-03-26 19:06:29 [14768] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2007-03-26 19:06:29 [14768] [0] INFO: MAIN: Start-up done, entering mainloop 2007-03-26 19:06:29 [14768] [0] DEBUG: AT2[/dev/ttyACM0]: start called 2007-03-26 19:06:29 [14768] [7] DEBUG: sms_router: gwlist_len = 0 2007-03-26 19:06:29 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2007-03-26 19:06:30 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2007-03-26 19:06:30 [14768] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2007-03-26 19:06:30 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATI^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- Sony Ericsson K510 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: found string <K510>, using modem definition <K510a> 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0) 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] INFO: AT2[/dev/ttyACM0]: closing device 2007-03-26 19:06:32 [14768] [6] INFO: AT2[/dev/ttyACM0]: opening device 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2007-03-26 19:06:32 [14768] [6] INFO: AT2[/dev/ttyACM0]: init device 2007-03-26 19:06:32 [14768] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:32 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CPIN?^M 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: READY 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0) 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CNMI=2,3,0,1,0^M 2007-03-26 19:06:33 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:06:33 [14768] [6] INFO: AT2[/dev/ttyACM0]: AT SMSC successfully opened. 2007-03-26 19:06:34 [14768] [5] INFO: Client connected from <127.0.0.1> 2007-03-26 19:06:34 [14768] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function) 2007-03-26 19:06:34 [14768] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to pid 14768. 2007-03-26 19:06:34 [14768] [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender) 2007-03-26 19:06:34 [14768] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps to pid 14768. 2007-03-26 19:06:56 [14768] [8] DEBUG: boxc_receiver: sms received 2007-03-26 19:06:56 [14768] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2007-03-26 19:06:57 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: TP-Validity-Period: 24.0 hours 2007-03-26 19:06:57 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGS=23^M 2007-03-26 19:06:57 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- > 2007-03-26 19:06:57 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: send command status: 1 2007-03-26 19:06:57 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> 0011000A8155733368760000A70BED3C885E9ED363B2190D 2007-03-26 19:06:57 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^Z 2007-03-26 19:07:01 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- > 2007-03-26 19:07:01 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CMGS: 0 2007-03-26 19:07:01 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2007-03-26 19:07:01 [14768] [6] DEBUG: AT2[/dev/ttyACM0]: send command status: 0 KANNEL.CONF #CORE BEARERBOX group = core admin-port = 13000 smsbox-port = 13001 #wapbox-port = 13002 admin-password = bar # box-deny-ip = "*.*.*.*" box-allow-ip = "*.*.*.*" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 access-log = "/var/log/kannel/beareraccess.log" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/smsaccess.log" # SEND-SMS USERS group = sendsms-user username = user password = pass # MODEM group = modems id = K510a name = K510a detect-string = "K510" init-string = AT+CNMI=2,3,0,1,0 group = modems id = T610 name = T610 detect-string = "T610" init-string = AT+CNMI=2,3,0,0,0 group = modems id = T68 name = T68 detect-string = "T68" init-string = AT+CNMI=3,1,2,0,0 # SMSC K510A # group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 speed = 115200 # SMSC T610 / T68i #group = smsc #smsc = at #modemtype = auto #device = /dev/ttyUSB0 #speed = 115200 ################################### # SMS SERVICES ################################### # TEST SERVICE group = sms-service keyword = nop text = "You asked nothing and I did it!" # DEFAULT SERVICE group = sms-service keyword = default text = "servicio no especificado... Favor reintente denuevo"
