On Tue, Jun 10, 2008 at 7:10 PM, Eduardo Raad
<[EMAIL PROTECTED]> wrote:
> Dear List,
>
> I have noted that when an SMS service fails to connect to the provided URL,
> the SMS message in question is discarded. Is there any way to queue this
> message until the SMS service URL becomes available?

Not in Kannel, but you can create retry mechanism on your own.

Write a url handler (php script for example) on your local machine, that will
prepare the URL to which the SMS should be forwarded.
After the url is prepared try to connect to it, if the you get an
error (url is not available)
then store the whole url to database.

Write another script which will read from the database and try to
execute the url.
If the execution is successful delete that url from the database.
Schedule(cron for i.e.) this
script to execute on some time interval. Be aware that the interval should be
long enough so that there will be no overlapping in script execution,
script should not
be stared if there is one already running. This way some of the
messages won't be
are sent twice or more times.

GREETZ, Jovan

Reply via email to