Author |
Post |
|
#1 Mon Aug 21, 2017 18:37, 89 months ago.
|
Member
Registered: Jan 2010
Location: Slovak Republic
|
Hi,
what will happen with sms in queue if modem is blocked after X error for Y seconds ?
Are they requeued to other modem if possible or are they marked as failed, or are they just waiting ?
Thank you
|
|
#2 Wed Aug 23, 2017 20:51, 89 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Messages are not requeued, but if there are other modems serving the same queue, they will send messages. If only one modem is serving the queue and gets blocked, messages are waiting.
|
|
#3 Thu Aug 24, 2017 07:13, 89 months ago.
|
Member
Registered: Jan 2010
Location: Slovak Republic
Topic owner
|
Thank you for answers
|
|
#4 Thu Aug 24, 2017 08:36, 89 months ago.
|
Member
Registered: Jan 2010
Location: Slovak Republic
Topic owner
|
Did I get whole process right with my use case.
Use case: I'm writing SMS files directly to modem queue, not to outgoing folder ( I need to choose which modem exactly will send particular sms )
Situation a.If error occures, then process sleeps for "errorsleeptime" - sms waiting b.If error occures "blockafter" times, then modem is blocked for "blocktime" - sms waiting c.After "blocktime" system check, if sms sending should be retried ( from parameter send_retries) - if not, sms is marked as failed
If I set sms header Retries:0, then SMS will wait in steps a., b. and then set as failed.
Did I get it right?
Thank you
|