Hi all, I have tried searching in previous posts on this but not getting solution on this.
My kannel configuration has been working both for sending and receiving SMS but all of a sudden both sending and receiving is not working. When sending all messages are queued: [root@hosta]# lynx -dump "http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&text=Test+sms&to=07xxxxxxxx&from=07yyyyyyyy" 2014-03-19 19:27:13 [31250] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1> 2014-03-19 19:27:13 [31250] [3] INFO: sendsms used by <tester> 2014-03-19 19:27:13 [31250] [3] INFO: sendsms sender:<tester:07yyyyyyyy> (127.0.0.1) to:<07xxxxxxxx> msg:<Test sms> 3: Queued for later delivery Below are the debug logs of bearerbox: 2014-03-19 19:24:21 [31238] [7] DEBUG: sms_router: time to sleep 30.00 secs. [root@hosta]# tail -20 bearerbox.log 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0x971e120 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0x9720aa8 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0xb3100dc0 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0x971e290 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0x9722c20 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0x9722f50 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0xb3101598 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0x9723e58 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: handling message (0x9724248 vs 0x9724248) 2014-03-19 19:24:51 [31238] [7] DEBUG: Routing failed, re-queued. 2014-03-19 19:24:51 [31238] [7] DEBUG: sms_router: time to sleep 30.00 secs. [root@hosta]# The debug log for smsc log: [root@hostaa]# tail -20 smsc.log 2014-03-19 16:17:39 [30267] [6] DEBUG: AT2[XXXXXXXX]: device opened. Telnet mode = 0 2014-03-19 16:17:39 [30267] [6] DEBUG: AT2[XXXXXXXX]: device opened 2014-03-19 16:17:39 [30267] [6] INFO: AT2[XXXXXXXX]: Logging in 2014-03-19 16:17:39 [30267] [6] INFO: AT2[XXXXXXXX]: init device 2014-03-19 16:17:39 [30267] [6] INFO: AT2[XXXXXXXX]: speed set to 115200 2014-03-19 16:17:39 [30267] [6] DEBUG: AT2[XXXXXXXX]: --> ATZ^M 2014-03-19 16:46:52 [30783] [6] INFO: AT2[XXXXXXXX]: opening device 2014-03-19 16:46:52 [30783] [6] DEBUG: AT2[XXXXXXXX]: device opened. Telnet mode = 0 2014-03-19 16:46:52 [30783] [6] DEBUG: AT2[XXXXXXXX]: device opened 2014-03-19 16:46:52 [30783] [6] INFO: AT2[XXXXXXXX]: Logging in 2014-03-19 16:46:52 [30783] [6] INFO: AT2[XXXXXXXX]: init device 2014-03-19 16:46:52 [30783] [6] INFO: AT2[XXXXXXXX]: speed set to 115200 2014-03-19 16:46:52 [30783] [6] DEBUG: AT2[XXXXXXXX]: --> ATZ^M 2014-03-19 17:24:18 [31238] [6] INFO: AT2[XXXXXXXX]: opening device 2014-03-19 17:24:18 [31238] [6] DEBUG: AT2[XXXXXXXX]: device opened. Telnet mode = 0 2014-03-19 17:24:18 [31238] [6] DEBUG: AT2[XXXXXXXX]: device opened 2014-03-19 17:24:18 [31238] [6] INFO: AT2[XXXXXXXX]: Logging in 2014-03-19 17:24:18 [31238] [6] INFO: AT2[XXXXXXXX]: init device 2014-03-19 17:24:18 [31238] [6] INFO: AT2[XXXXXXXX]: speed set to 115200 2014-03-19 17:24:19 [31238] [6] DEBUG: AT2[XXXXXXXX]: --> ATZ^M [root@hosta]# Below is the status of the gateway: [root@host]# lynx -dump "http://localhost:13000/status?password=bar" Kannel bearerbox version `1.5.0'. Build `Jul 19 2013 18:52:53', compiler `4.7.2 20120921 (Red Hat 4.7.2-2)'. System Linux, release 3.3.4-5.fc17.i686.PAE, version #1 SMP Mon May 7 17:37:39 UTC 2012, machine i686. Hostname hosta, IP x.x.x.x. Libxml version 2.7.8. Using OpenSSL 1.0.0k-fips 5 Feb 2013. Compiled with MySQL 5.5.32, using MySQL 5.5.32. Using native malloc. Status: running, uptime 0d 1h 57m 10s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 0 (12 queued), store size 12 SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec DLR: received 0, sent 0 DLR: 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:smsbox1, IP 127.0.0.1 (0 queued), (on-line 0d 1h 56m 37s) SMSC connections: xxxxxxxx[xxxxxxxx] AT2[xxxxxxxx] (connecting, rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs) Below is the whole configuration of kannel: #--------------------------------------------- # CORE #--------------------------------------------- group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "/var/log/kannel/access.log" store-file = "/var/log/kannel/kannel.store" dlr-storage = internal #--------------------------------------------- # SMSC CONNECTIONS #--------------------------------------------- group = smsc smsc = at modemtype = wavecom device = /dev/ttyUSB6 my-number = 0 speed = 115200 smsc-id = xxxxxxxx log-level = 0 log-file = "/var/log/kannel/smsc.log" log-level = 0 #sim-buffering = true #dlr-mask = 1+2 keepalive = 60 #--------------------------------------------- group = modems id = wavecom name = "wavecom" init-string = AT+CPMS="ME","ME","ME" keepalive-cmd = "AT+CMGD=1,2" message-storage = "ME" #--------------------------------------------- # SMSBOX SETUP #--------------------------------------------- group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = "+2xxxxxxxxxxx" log-file = "/var/log/kannel/smsbox.log" log-level = 1 smsbox-id = smsbox1 group = smsbox-route smsbox-id = smsbox1 #--------------------------------------------- # SEND-SMS USERS #--------------------------------------------- group = sendsms-user username = tester password = foobar concatenation = true max-messages = 3 #--------------------------------------------- # SERVICES #--------------------------------------------- group = sms-service keyword-regex = .* catch-all = true max-messages = 3 omit-empty = true catch-all = true get-url = "http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a" Any hint on how to resolve this will be highly treasured. Thanks, Duncan -- View this message in context: http://kannel.6189.n7.nabble.com/Routing-failed-re-queued-and-3-Queued-for-later-delivery-tp29636.html Sent from the Kannel - User mailing list archive at Nabble.com.