> -----Original Message-----
> From: Oded Arbel [mailto:[EMAIL PROTECTED]]
> AFAIK - Kannel does not have a mechanism to "expire" messages
> that have past their validity period. the problem is much
> worse, I'm afraid - the decision of whether to retry a
> message or fail it completly (sending an SMSC_FAILED dlr) is
> done by the module, where most often it fails the message
> delivery if it doesnot succeed in sending the message on the
> first try. Another important point, is that if the sending
> failed and the module decides that it should retry the
> message, you wouldn't get an SMSC_FAILED dlr (you could, but
> it is not coded that way).
Well, the most important thing is to get the latest and most accurate status
of the delivery regardless how long does it take. It's my point of view
about the behavior of external Applications.
> That is how it is done. AFAIK, modules only try to resend if
> the sending failed because of connection problems. when you
> receive an SMSC_FAILED message - the module has given up on
> trying to ever send that message.
But that's not true at least for stable 1.2 because ever SIGHUP Kannel
resends the limbo (failed and dlr-notified messages)
> > Exactly! And if it's a message impossible to be delivered
> (ex. with an
> > invalid dest address), Kannel will keep it forever until I drop the
> > store-file. How we "killall -HUP" every 0:00am, Kannel
> > restart do reading
> > the store-file and resend all those old failed message again,
> > so every day
> > the avalanche is bigger, producing throtling errors on SMSC's
> > side and HTTP
> > connector errors on DLR-URL application's side.
> That is a bug in the SMSC module and need to be fixed.
> messages that are malformed should be removed from the store file.
Hang on! :-) The message wasn't mal-formed, was it? I've just
intentionally sent a sms with and invalid number whose prefix is not
configured to be accepted by Logica's SMSC, so I got the 0x0000000b. The
same problem seems to happen when I got errors like 0x00000001, 0x00000014
and 0x00000045 ("Message Length is invalid", "Message Queue is full" and
"Throttling error", respectively).
Thanks Oded!