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&acces
s=posturl&t=%25t&q=%25q&a=%25a>
&cat=gateway&plugin=kannel&access=posturl&t=%t&q=%q&a=%a"

 

 

 

Thanks & Regards,

Nilubon Soonthon

Reply via email to