Hi, I'm using Kannel 1.4.3 in a RHEL 4.4 system. The software was compiled from source. I'm using Kannel to deliver SMSs through a SMPP account, with clickatell as a backup when the primary account is not available. I've noticed that sometimes, after the primary SMPP account has been unavailable and then brought up again, kannel keeps sending SMSs through the backup clickatell connection, instead of the preferred connection, as it should.

Is this a known issue for 1.4.3? Might upgrading to 1.5.0 resolve the problem?

This is my kannel.conf configuration, is there any mistake in it?

##### Beginning of kannel.conf

group = core
admin-port = XXXXX
admin-password = YYYY
log-level = 0
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "ip1;ip2;ip3"
smsbox-port = XXXX
dlr-storage = internal
access-log = "/var/log/kannel/sms-trace.log"
access-log-clean = true
access-log-format= <SMS ID="%F" TS="%t" TYPE="%l" SMSC="%i" FROM="%p" TO="%P" ENCODING="%c" TEXT="%b" UDH="%u"/>

group = smsc
smsc = smpp
smsc-id = VODA
allowed-smsc-id = VODA;clickatell
preferred-smsc-id = VODA
host = XXX.XXX.XXX.XXX
port = YYYY
receive-port = YYYY
smsc-username = "username"
smsc-password = password
system-type = "VMA"
source-addr-autodetect = no
source-addr-ton = 1
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
address-range=""
log-level = 0
log-file = "/var/log/kannel/voda_smpp.log"
reconnect-delay = 30
enquire-link-interval = 360
validityperiod = 4320

group = smsc
smsc = http
smsc-id = clickatell
allowed-smsc-id = clickatell;VODA
system-type = clickatell
system-id = XZXXXXX
smsc-username = ZZZZZZ
smsc-password = AAAAAAAA
send-url = "clickatell_url"
port = YYYY
log-level = 0
log-file = "/var/log/kannel/clickatell_smsc.log"

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = XXXX
log-level = 0
log-file= "/var/log/kannel/smsbox.log"

group = sms-service
keyword =
catch-all = yes
max-messages = 0
get-url = my_url

group = sendsms-user
username = VODA_USER
password = VODA_PWD
default-smsc = VODA
default-sender = XXXXXXXX
concatenation = true

group = sendsms-user
username = CLKT_USER
password = CLKT_PWD
default-smsc = clickatell
default-sender = ZZZZZZZ
concatenation = true

###end of Kannel.conf

Thanks in advance for any help,

Paolo Crosato



Reply via email to