Hi everyone,
We have been trying to configure Kannel (v1.4.3) to expire, discard or
send a DLR failure when no SMSC are available and/or the messages are in
queue (sending) for over a certain amount of time (Ex: 10 seconds). We
are using the internal queue.
We've been testing configurations using sms-resend-freq,
sms-resend-retry, wait-ack and wait-ack-expire, but no luck. Messages
stay in queue no matter how long SMSC are unavailable.
Any thoughts on how this could be achieved?
Here are my configurations:
group = core
admin-port = 13000
admin-password = news
smsbox-port = 13001
log-file = /var/log/kannel/kannel.log
log-level = 4
access-log = /var/log/kannel/access.log
sms-resend-retry = 2
sms-resend-freq = 2
group = smsc
smsc = smpp
smsc-id = sim-21
host = localhost
port=2771
receive-port = 2771
smsc-username = smppclient1
smsc-password = password
system-type = VMA
wait-ack = 5
wait-ack-expire = 0
log-file = /var/log/kannel/smsc-sim2.log
log-level = 0
... (12 more smsc configurations like this one but other ports)
group = smsbox
#smsbox-id = box1
bearerbox-host = localhost
sendsms-url = "/cgi-bin/sendsms"
sendsms-port = 13011
log-file = /var/log/kannel/smsbox-box1.log
log-level = 4
access-log = /var/log/kannel/access-smsbox-box1.log
group = sendsms-user
username = news
password = news123
name = sendbox1
Thanks!!!
David Szanto