Re: Confusing status 202... error
Utsman Abdurrahman wrote: Dear All, Please advice of the following confusing eeror that I found in my kannel. I dont know why, but my kannel seems work ok with sending sms message logically but unfortunately not actually. Ive been working on this error for quite some times, but I still cant figure it out some how. Please help me with this. I use kannel 1.3.2 with wmod2 wavecom gsm modem under Redhat Taroon Linux as OS platform. Kannel configuration : group = core admin-port = 13000 smsbox-port = 13001 admin-password = admin status-password = admin admin-allow-ip = *.*.*.* box-allow-ip = 127.0.0.1 log-file = /tmp/kannel.log log-level = 0 access-log = /tmp/access.log unified-prefix = 0,+62 store-file = /tmp/kannel.store group = smsc smsc-id = modem smsc = at modemtype = wavecom device = /dev/ttyS0 allowed-smsc-id = modem group = modems id = wavecom name = Wavecom detect-string = WAVECOM keepalive-cmd = AT+CBC;+CSQ message-storage = ME group = smsbox bearerbox-host = localhost sendsms-port = 13013 log-file = /tmp/smsbox.log log-level = 0 access-log = /tmp/accesskannel.log group = sendsms-user username = user password = password default-sender = +62815140 forced-smsc = modem group = sms-service keyword = default text = No service specified Sms box log: 2004-09-16 10:43:54 [13941] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2004-09-16 10:43:54 [13941] [3] INFO: sendsms used by user 2004-09-16 10:43:54 [13941] [3] INFO: sendsms sender:user:+628151404989 (127.0.0.1) to: 628161975399 msg:Hi World 2004-09-16 10:43:54 [13941] [3] DEBUG: message length 8, sending 1 messages 2004-09-16 10:43:54 [13941] [3] DEBUG: Status: 202 Answer: Sent. 2004-09-16 10:43:54 [13941] [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2004-09-16 10:49:05 [13941] [1] DEBUG: HTTP: Destroying HTTPClient area 0x813a978. 2004-09-16 10:49:05 [13941] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. And I see this confirmation in the log 2004-09-16 10:43:54 [13930] [9] DEBUG: boxc_receiver: sms received 2004-09-16 10:43:54 [13930] [9] DEBUG: send_msg: sending msg to box: 127.0.0.1 The bearer box configuring logs 2004-09-16 09:38:11 [13085] [0] INFO: Added logfile `/tmp/kannel.log' with level `0'. 2004-09-16 09:38:11 [13085] [0] INFO: Started access logfile `/tmp/access.log'. 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 1 (gw/bb_store.c:store_cleanup) 2004-09-16 09:38:11 [13085] [0] INFO: SSL not supported, no SSL initialization done. 2004-09-16 09:38:11 [13085] [0] INFO: HTTP: Opening server at port 13000. 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run) 2004-09-16 09:38:11 [13085] [0] DEBUG: starting smsbox connection module 2004-09-16 09:38:11 [13085] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:sms_to_smsboxes) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 6 (gw/bb_boxc.c:smsboxc_run) 2004-09-16 09:38:11 [13085] [0] INFO: DLR rerouting for smsc id modem disabled. 2004-09-16 09:38:11 [13085] [0] INFO: AT2[modem]: configuration shows modemtype wavecom 2004-09-16 09:38:11 [13085] [0] DEBUG: AT2[modem]: Reading modem definitions from /etc/kannel.conf 2004-09-16 09:38:11 [13085] [0] DEBUG: AT2[modem]: Found 1 modems in config 2004-09-16 09:38:11 [13085] [0] INFO: AT2[modem]: read modem definition for Wavecom 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 7 (gw/smsc/smsc_at.c:at2_device_thread) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 8 (gw/bb_smscconn.c:sms_router) 2004-09-16 09:38:11 [13085] [0] INFO: 2004-09-16 09:38:11 [13085] [0] INFO: Kannel bearerbox II version 1.3.2 starting 2004-09-16 09:38:11 [13085] [1] DEBUG: Thread 1 (gw/bb_store.c:store_cleanup) maps to pid 13085. 2004-09-16 09:38:11 [13085] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to pid 13085. 2004-09-16 09:38:11 [13085] [7] DEBUG: Thread 7 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 13085. 2004-09-16 09:38:11 [13085] [7] INFO: AT2[modem]: trying to use speed 9600 from modem definition 2004-09-16 09:38:11 [13085] [7] INFO: AT2[modem]: opening device 2004-09-16 09:38:11 [13085] [7] DEBUG: AT2[modem]: device opened 2004-09-16 09:38:11 [13085] [7] DEBUG: AT2[modem]: device opened 2004-09-16 09:38:11 [13085] [7] INFO: AT2[modem]: speed set to 9600 2004-09-16 09:38:11 [13085] [7] DEBUG: AT2[modem]: -- ^M 2004-09-16 09:38:11 [13085] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) maps to pid 13085. 2004-09-16 09:38:11 [13085] [0] INFO: Loading store file `/tmp/kannel.store' 2004-09-16 09:38:11 [13085] [0] INFO: Store-file size 389, starting to unpack 2004-09-16 09:38:11 [13085] [0] INFO: Retrieved 1 messages, non-acknowledged messages: 1
Confusing status 202... error
Dear All, Please advice of the following confusing eeror that I found in my kannel. I dont know why, but my kannel seems work ok with sending sms message logically but unfortunately not actually. Ive been working on this error for quite some times, but I still cant figure it out some how. Please help me with this. I use kannel 1.3.2 with wmod2 wavecom gsm modem under Redhat Taroon Linux as OS platform. Kannel configuration : group = core admin-port = 13000 smsbox-port = 13001 admin-password = admin status-password = admin admin-allow-ip = *.*.*.* box-allow-ip = 127.0.0.1 log-file = /tmp/kannel.log log-level = 0 access-log = /tmp/access.log unified-prefix = 0,+62 store-file = /tmp/kannel.store group = smsc smsc-id = modem smsc = at modemtype = wavecom device = /dev/ttyS0 allowed-smsc-id = modem group = modems id = wavecom name = Wavecom detect-string = WAVECOM keepalive-cmd = AT+CBC;+CSQ message-storage = ME group = smsbox bearerbox-host = localhost sendsms-port = 13013 log-file = /tmp/smsbox.log log-level = 0 access-log = /tmp/accesskannel.log group = sendsms-user username = user password = password default-sender = +62815140 forced-smsc = modem group = sms-service keyword = default text = No service specified Sms box log: 2004-09-16 10:43:54 [13941] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2004-09-16 10:43:54 [13941] [3] INFO: sendsms used by user 2004-09-16 10:43:54 [13941] [3] INFO: sendsms sender:user:+628151404989 (127.0.0.1) to: 628161975399 msg:Hi World 2004-09-16 10:43:54 [13941] [3] DEBUG: message length 8, sending 1 messages 2004-09-16 10:43:54 [13941] [3] DEBUG: Status: 202 Answer: Sent. 2004-09-16 10:43:54 [13941] [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2004-09-16 10:49:05 [13941] [1] DEBUG: HTTP: Destroying HTTPClient area 0x813a978. 2004-09-16 10:49:05 [13941] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. And I see this confirmation in the log 2004-09-16 10:43:54 [13930] [9] DEBUG: boxc_receiver: sms received 2004-09-16 10:43:54 [13930] [9] DEBUG: send_msg: sending msg to box: 127.0.0.1 The bearer box configuring logs 2004-09-16 09:38:11 [13085] [0] INFO: Added logfile `/tmp/kannel.log' with level `0'. 2004-09-16 09:38:11 [13085] [0] INFO: Started access logfile `/tmp/access.log'. 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 1 (gw/bb_store.c:store_cleanup) 2004-09-16 09:38:11 [13085] [0] INFO: SSL not supported, no SSL initialization done. 2004-09-16 09:38:11 [13085] [0] INFO: HTTP: Opening server at port 13000. 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run) 2004-09-16 09:38:11 [13085] [0] DEBUG: starting smsbox connection module 2004-09-16 09:38:11 [13085] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:sms_to_smsboxes) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 6 (gw/bb_boxc.c:smsboxc_run) 2004-09-16 09:38:11 [13085] [0] INFO: DLR rerouting for smsc id modem disabled. 2004-09-16 09:38:11 [13085] [0] INFO: AT2[modem]: configuration shows modemtype wavecom 2004-09-16 09:38:11 [13085] [0] DEBUG: AT2[modem]: Reading modem definitions from /etc/kannel.conf 2004-09-16 09:38:11 [13085] [0] DEBUG: AT2[modem]: Found 1 modems in config 2004-09-16 09:38:11 [13085] [0] INFO: AT2[modem]: read modem definition for Wavecom 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 7 (gw/smsc/smsc_at.c:at2_device_thread) 2004-09-16 09:38:11 [13085] [0] DEBUG: Started thread 8 (gw/bb_smscconn.c:sms_router) 2004-09-16 09:38:11 [13085] [0] INFO: 2004-09-16 09:38:11 [13085] [0] INFO: Kannel bearerbox II version 1.3.2 starting 2004-09-16 09:38:11 [13085] [1] DEBUG: Thread 1 (gw/bb_store.c:store_cleanup) maps to pid 13085. 2004-09-16 09:38:11 [13085] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to pid 13085. 2004-09-16 09:38:11 [13085] [7] DEBUG: Thread 7 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 13085. 2004-09-16 09:38:11 [13085] [7] INFO: AT2[modem]: trying to use speed 9600 from modem definition 2004-09-16 09:38:11 [13085] [7] INFO: AT2[modem]: opening device 2004-09-16 09:38:11 [13085] [7] DEBUG: AT2[modem]: device opened 2004-09-16 09:38:11 [13085] [7] DEBUG: AT2[modem]: device opened 2004-09-16 09:38:11 [13085] [7] INFO: AT2[modem]: speed set to 9600 2004-09-16 09:38:11 [13085] [7] DEBUG: AT2[modem]: -- ^M 2004-09-16 09:38:11 [13085] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) maps to pid 13085. 2004-09-16 09:38:11 [13085] [0] INFO: Loading store file `/tmp/kannel.store' 2004-09-16 09:38:11 [13085] [0] INFO: Store-file size 389, starting to unpack 2004-09-16 09:38:11 [13085] [0] INFO: Retrieved 1 messages, non-acknowledged messages: 1