Hello again, Thanks for your responses. I have setup throughput and max-pending submits, but I need to setup this specific behavior on this smsc connection for these two errors, in case I receive them.I know that kannel by default has a stack of messages and the messages that receive an error goes down this stack. But I need to setup this specific behaviour.If receive a throttling error must stop sending anything for 60 seconds. Date: Fri, 7 Mar 2014 20:42:17 +0400 Subject: Re: How to handle throttling and message queue full errors From: [email protected] To: [email protected] CC: [email protected]; [email protected]
2014-03-07 20:31 GMT+04:00 Valdas Petrulis <[email protected]>: You should use configarion variable 'throughput' under each of your SMSC: group = smsc smsc = smpp smsc-id = XXX ... ... throughput = 15 Kannel repeats messages from queue by default, if you did not modified configuration. Also, don't forget about max-pending-submits parameter. On Fri, Mar 7, 2014 at 5:33 PM, tolis man <[email protected]> wrote: Hello, I would like to know if it's possible to handle some specific errors, like 1. 0x58 Throttling Error 2. 0x14 Message Queue Full -- There's a requirement saying that when I receive a throttling error message, the needed behaviour is: Stop sending any Submit_sm for 60 seconds. Any more outgoing Submit_sm's must be placed to the queue. The message, which get an error must be placed 1st in the queue. After 60 seconds timeout, continue sending normally, according queue. -- If I receive a Message Queue Full error, the needed behaviour is: Resend message. Try to resend it only 3-5 times. Every time you get an error, place message at very end of queue. -- Is it possible to adjust the above with configuration on the smsc group? Thank you in advance, -- Pagarbiai, Valdas Petrulis +37067310422 Skype: petrulis.valdas
