Dear Tapan,
This is my output:
Kannel bearerbox version `1.4.4'. Build `Mar 2 2015 17:23:17', compiler `4.4.7
20120313 (Red Hat 4.4.7-11)'. System Linux, release 2.6.32-431.el6.x86_64,
version #1 SMP Fri Nov 22 03:15:09 UTC 2013, machine x86_64. Hostname tg-1536,
IP 127.0.0.1. Libxml version 2.7.6. Using OpenSSL 1.0.1e-fips 11 Feb 2013.
Using native malloc.
Status: running, uptime 0d 0h 35m 26s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (1 queued), store size -1
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:smsbox2, IP 127.0.0.1 (0 queued), (on-line 0d 0h 35m 6s)
SMSC connections:
SMPPSim[SMPPSim] SMPP:10.11.21.78:0/2775:smppclient1:'VMA' (online 16s,
rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0
(0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs)
Thank Regards,
Nilubon Soonthon
From: Tapan Kumar Thapa [mailto:[email protected]]
Sent: Wednesday, March 11, 2015 10:58 AM
To: Nilubon Soonthon
Cc: [email protected]
Subject: Re: Routing failed, re-queued and 3: Queued for later delivery
Dear Nilubon,
Can you please give us the output of below url?
http://10.11.21.248:13000/status?password=kannel
Regards
Tapan Thapa
On Wed, Mar 11, 2015 at 8:32 AM, Nilubon Soonthon <[email protected]> wrote:
Dear Tapan,
Thanks for Answer but I think my SMSC isn’t down because I use Wireshark to
capture packet between my simutation SMSC (SMPPSim 10.11.21.78) and Kannel
(10.11.21.248) and I think I found packet that connected between it.(Details of
Packet in attached file.)
If my SMSC isn’t down .Do you have any idea for me to solve this problem?
Thanks & regards
Nilubon Soonthon
From: Tapan Kumar Thapa [mailto:[email protected]]
Sent: Monday, March 9, 2015 3:20 PM
To: Nilubon Soonthon
Cc: [email protected]
Subject: Re: Routing failed, re-queued and 3: Queued for later delivery
Check kannel admin interface for SMSC status.
It seems SMSC is down.
On Mon, Mar 9, 2015 at 1:47 PM, Nilubon Soonthon <[email protected]> wrote:
Hi,
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
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 at hosta <http://www.kannel.org/mailman/listinfo/users> ]# 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.
Below is the whole configuration of kannel:
#kannel.conf
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = kannel
status-password = kannel
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access_kannel.log
dlr-storage = internal
#--- mysql connection
group = mysql-connection
id = mydlr
host = 10.11.21.136
username = kannel
password = kannel
database = kannelDb
max-connections = 1
#---- DLR table structure
group = dlr-db
id = mydlr
table = "dlr"
field-smsc = smsc
field-timestamp = timstamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id
group = smsbox
smsbox-id = smsbox1
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
#global-sender = 1000
log-file = /var/log/kannel/smsbox.log
log-level = 0
mo-recode = true
group = smsbox-route
smsbox-id = smsbox1
smsc-id = SMPPSim
group = smsc
smsc = smpp
smsc-id = SMPPSim
host = 10.11.21.78
#port = 2775
transceiver-mode = 0
receive-port = 2775
smsc-username = smppclient1
smsc-password = 12345
system-type = 'VMA'
#service-type = 'test'
interface-version = 34
system-id = smppclient1
preferred-smsc-id = SMPPSim
allowed-smsc-id=SMPPSim
log-file = "/var/log/kannel/smppsim.log"
group = sendsms-user
username = playsms
password = playsms
user-allow-ip = "10.11.21.*"
user-deny-ip = "*.*.*.*"
default-smsc = SMPPSim
default-sender = '1000'
group = sendsms-user
username = admin
password = kannel
default-smsc = SMPPSim
default-sender = '1000'
group = sms-service
keyword = default
accept-x-kannel-headers = true
accepted-smsc = SMPPSim
catch-all = true
post-url = "http://localhost/playsms/index.php?app=call
<http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=posturl&t=%25t&q=%25q&a=%25a>
&cat=gateway&plugin=kannel&access=posturl&t=%t&q=%q&a=%a"
Thanks & Regards,
Nilubon Soonthon