Because

>             timeout = last_enquire_sent + smpp->enquire_link_interval
>                         - date_universal_now();
>

is always == 30 when we get throttling error (last_enquire_sent ~=
date_universal_now(), and smpp->enquire_link_interval == 30)

Any ideas?


On Mon, Jan 31, 2011 at 5:44 PM, Ivan Kurnosov <[email protected]> wrote:

> Seems like the issue is in the
>
>             if (conn_wait(conn, timeout) == -1)
>>                 break;
>>
>
>
> Which blocks execution for at least SMPP_ENQUIRE_LINK_INTERVAL :-(
>
> On Mon, Jan 31, 2011 at 4:32 PM, Ivan Kurnosov <[email protected]> wrote:
>
>> How to change the throttling time?
>>
>> This is what I see in my logs:
>>
>> 2011-01-31 16:22:00 [3029] [6] ERROR: SMPP[SMPP:...:default]: SMSC
>> returned error code 0x00000058 (Throttling error) in response to submit_sm.
>> 2011-01-31 16:22:30 [3029] [6] DEBUG: SMPP PDU 104128 dump:
>> 2011-01-31 16:22:30 [3029] [6] DEBUG:   type_name: submit_sm
>>
>> As you can see it is accurate 30 second throttle delay interval.
>>
>> I've already recompiled kannel with
>>
>> #define SMPP_THROTTLING_SLEEP_TIME  1
>>
>> but seems like I've lost some else details to fix.
>>
>> --
>> With best regards, Ivan Kurnosov
>>
>
>
>
> --
> With best regards, Ivan Kurnosov
>



-- 
With best regards, Ivan Kurnosov

Reply via email to