Hi list,

I need to setup Kannel (1.4.3) in a production environment. In this setup, 
Kannel receives SMS's via HTTP interface and then sends them to an SMSC.
One of the main requirements is to avoid as much as possible duplicate SMS's.
My first attempt to meet this requirement has been these settings:

[core]
sms-resend-retry = 0
[smsc]
wait-ack-expire = 0x02

to force Kannel to carry on waiting upon a failure in receiving ACK PDUs from 
the SMSC, and to never resend an sms (just to be sure).
Unfortunately, this resulted in some SMS stored for an unlimited amount of time 
in the Kannel spool. Besides of this, they would have been sent on a reconnect 
of the SMSC (that could happen several days after the submit, sometimes voiding 
the purpose of the sms itself).

So I decided to change strategy, and allow one single resend upon failure.
Would you please help me to configure Kannel to get this behaviour?
I've thought about these settings:

[core]
sms-resend-freq = 60 (default)
sms-resend-retry = 1
[smsc]
wait-ack = 60 (default)
wait-ack-expire = 0x01 (default)

Will this setup guarantee max 1 single retry in every error condition?
Do I need to modify other settings?

Thanks a lot,
Fabio

Reply via email to