Hello. Asking for help with this bug:
Kannel 1.4.3.
Everything works OK, but at any moment it can stop sending messages
(connection is established, as you kan see in the log) with such error
in the log. When I restart kannel, and smsc is connected it sends
messages in the queue and works fine, but it can break any moment. It
seems, that any reconnect to smsc could break the system.
forced and default smsc settings don't resolve the problem.

2011-02-28 13:39:02 [98765] [8] DEBUG: sms_router: gwlist_len = 2
2011-02-28 13:39:02 [98765] [8] DEBUG: sms_router: handling message
(0x801d20880 vs 0x801d20880)
2011-02-28 13:39:02 [98765] [8] DEBUG: Routing failed, re-queued.
2011-02-28 13:39:02 [98765] [8] DEBUG: sms_router: handling message
(0x801f9c880 vs 0x801d20880)
2011-02-28 13:39:02 [98765] [8] DEBUG: Routing failed, re-queued.
2011-02-28 13:39:02 [98765] [8] DEBUG: sms_router: handling message
(0x801d20880 vs 0x801d20880)
2011-02-28 13:39:02 [98765] [8] DEBUG: Routing failed, re-queued.
2011-02-28 13:39:02 [98765] [8] DEBUG: sms_router: time to sleep 5.00 secs.
2011-02-28 13:39:03 [98765] [7] DEBUG: SMPP[MEGAFON]: Got PDU:
2011-02-28 13:39:03 [98765] [7] DEBUG: SMPP PDU 0x801c84ac0 dump:
2011-02-28 13:39:03 [98765] [7] DEBUG:   type_name: enquire_link
2011-02-28 13:39:03 [98765] [7] DEBUG:   command_id: 21 = 0x00000015
2011-02-28 13:39:03 [98765] [7] DEBUG:   command_status: 0 = 0x00000000
2011-02-28 13:39:03 [98765] [7] DEBUG:   sequence_number: 12745886 = 0x00c27c9e
2011-02-28 13:39:03 [98765] [7] DEBUG: SMPP PDU dump ends.
2011-02-28 13:39:03 [98765] [7] DEBUG: SMPP[MEGAFON]: Sending PDU:
2011-02-28 13:39:03 [98765] [7] DEBUG: SMPP PDU 0x801c84900 dump:
2011-02-28 13:39:03 [98765] [7] DEBUG:   type_name: enquire_link_resp
2011-02-28 13:39:03 [98765] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2011-02-28 13:39:03 [98765] [7] DEBUG:   command_status: 0 = 0x00000000
2011-02-28 13:39:03 [98765] [7] DEBUG:   sequence_number: 12745886 = 0x00c27c9e
2011-02-28 13:39:03 [98765] [7] DEBUG: SMPP PDU dump ends.
2011-02-28 13:39:07 [98765] [8] DEBUG: sms_router: gwlist_len = 2
2011-02-28 13:39:07 [98765] [8] DEBUG: sms_router: handling message
(0x801f9c880 vs 0x801f9c880)
2011-02-28 13:39:07 [98765] [8] DEBUG: Routing failed, re-queued.
2011-02-28 13:39:07 [98765] [8] DEBUG: sms_router: handling message
(0x801d20880 vs 0x801f9c880)
2011-02-28 13:39:07 [98765] [8] DEBUG: Routing failed, re-queued.
2011-02-28 13:39:07 [98765] [8] DEBUG: sms_router: handling message
(0x801f9c880 vs 0x801f9c880)
2011-02-28 13:39:07 [98765] [8] DEBUG: Routing failed, re-queued.
2011-02-28 13:39:07 [98765] [8] DEBUG: sms_router: time to sleep 5.00 secs.


group = core
admin-port = 13000
admin-password = tyutyu
log-file = "/var/log/kannel/bearerbox.log"
#log-level = 1
access-log = "/var/log/kannel/access_kannel.log"
store-file = "/var/log/kannel/store_sms"
smsbox-port = 13001
dlr-storage = internal
smsbox-max-pending = 100000
sms-resend-freq=10

group = smsc
smsc-id = "MEGAFON"
smsc = smpp
host = xx.xx.xx.xx
port = 3333
receive-port = 3333
smsc-username = "xxx"
smsc-password = "xxx"
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
system-type = VMA
reconnect-delay = 2
connection-timeout = 0
enquire-link-interval = 180

group = smsbox
#smsbox-id = boxy
bearerbox-host = localhost
sendsms-port = 13003
global-sender = 000037
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access_smsbox.log

group = sendsms-user
username = "user"
password = "xxx"
concatenation = true
max-messages = 10
forced-smsc = MEGAFON
default-smsc = MEGAFON

#ENGINE
group = sms-service
keyword = default
post-url = "http://xxxxxx:8080/smsengine/index/tel/%p/time/%t/coding/%c";
concatenation = true
max-messages = 0

Reply via email to