Re: Strange smsbox/bearerbox problem : SMS messages not being sent

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Dienstag, Juni 10, 2003, at 02:52  Uhr, Alex Judd wrote:

> That doesn't sound right :)
>
> With our connection to Orange we have higher capacity, however still 
> got
> 0x00000058 I/F Throttled Error when we exceed our per second limit.
>
> e.g. "2003-06-10 11:48:07 [5] ERROR: SMPP[Orange]: SMSC returned error 
> code
> 0x00000058 in response to submit_sm."
>
> Kannel then throttles back (although not very elegantly) and we resume
> message sending.
>
> Couple of thoughts.
>
> 1. Are you using the CVS version of Kannel?
> 2. Should a throttle message be an INFO message not an ERROR (it is
> perfectly legal to over send as long as we react to the throttling 
> messages)

This is out of control of Kannel. The throttling message comes from the 
SMSC and it can be an error message as a reply to a submit_sm or a 
message which is not related to a submit_sm (I've once fixed this in 
the source because I had the "other" type).


> 3. Control the speed at application level before sending to Kannel
> 4. We should have more elegant throttling code in the SMPP driver

There's no way to make it more elegant!

The SMPP specs dont allow for anything else. Nice would be to stop 
sending if we got "throttle" and resume when we get some kind of 
"resume" message but there is no such message. Kannel does the only 
valid thing which is wait a bit and try again.

Andreas Fink
Global Networks Switzerland AG

------------------------------------------------------------------
Tel: +41-61-6666333  Fax: +41-61-6666334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/      [email protected]
------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.