Put these lines under the smsbox group:

#Number of rerties if the http service is unavailable
http-request-retry = 10
#Period between two retries in seconds
http-queue-delay = 60

Davor Spasoski

-----Original Message-----
From: users [mailto:users-boun...@kannel.org] On Behalf Of konrad.przybysz
Sent: 12 January 2017 12:09
To: users@kannel.org
Subject: SMS dropped if url not available.

Dear all,

Im using kannel 1.4.3-2. I have an smpp link in which im receiving sms messages 
from one of local service providers. Those messages are forwarded to web server 
(tomcat) for further processing.

For this forward im using sms-service configuration:

group = sms-service
keyword = default
post-url =
"https://host:port/path?charset=UTF-8&ORIGINATOR=%p&RECEIVER=%P&SMS=%b";

My problem is that sometimes tomcat is down. And all sms messages from time of 
outage are lost. Is there any way to configure kannel to check error code (or 
similar parameter). If code is not 200 (or page offline) sms should be keeped 
for later delivery?

Could you give my any clues how to create such configuration?

Thanks and best regards, Konrad



--
View this message in context: 
http://kannel.6189.n7.nabble.com/SMS-dropped-if-url-not-available-tp32648.html
Sent from the Kannel - User mailing list archive at Nabble.com.



________________________________

Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!

Reply via email to