Probably, it won't be discarded, but queued for later retry.
Part of the code dealing with your problem is here (gateway/gw/smsc/smsc_smpp.c). Maybe you should post your question to the devel guys at [email protected] to know what actually happens.


/*
* check to see if we got a "throttling error", in which case we'll just
* sleep for a while
*/
if (pdu->u.submit_sm_resp.command_status == SMPP_ESME_RTHROTTLED)
time(&(smpp->throttling_err_time));
else
smpp->throttling_err_time = 0;


bb_smscconn_send_failed(smpp->conn, msg, reason,
octstr_format("%ld/%s", pdu->u.submit_sm_resp.command_status,
smpp_error_to_string(pdu->u.submit_sm_resp.command_status)));
--(*pending_submits);
} else {
...


----- Original Message ----- From: "Russel Stromin" <[EMAIL PROTECTED]>
To: "Rodrigo Cremaschi" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, March 31, 2005 3:09 PM
Subject: Re: error code 0x00000058 in response to submit_sm



Thanks Rodrigo

Yes we understand the "throttling error" and are investigation the
limitations of this particular operator.  My question of what Kannel does
with this submit is still  unanswered.  We know the SMSC does not send the
SM ... does Kannel retry it or what ?

Cheerio

Russel


----- Original Message ----- From: "Rodrigo Cremaschi" <[EMAIL PROTECTED]>
To: "Russel Stromin" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Thursday, March 31, 2005 2:58 PM
Subject: Re: error code 0x00000058 in response to submit_sm



Hi Russel,

It is a throttling error (according to SMPP Protocol Specification
v.3.4
you have exceeded the message limit and SMSC cannot accept more requests).
I don't think this is a throughput problem. Talk to your SMSC and ask them
what kind of limitations they impose on your SMPP connection.


    Hope this will help you. Regards,

Rodrigo.


----- Original Message ----- From: "Russel Stromin" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 31, 2005 7:33 AM
Subject: error code 0x00000058 in response to submit_sm



> Hi All
>
> We see this in our logs:
>
> "SMSC returned error code 0x00000058 in response to submit_sm"
>
> We believe this is a throttling error...
>
> The SMSC group config has:
>
> throughput=3
> max-pending-submits=100
> smsc=smpp
>
> We have tried many combinations of the throughput and > max-pending-submit
> tags parameters, but assume that this varies from operator to operator
and
> as yet have not really found an optimum for this particular operator.
>
> When this "throttling error" occurs ... what is the behavior of > Kannel
> ...
> will it retry this submit_sm or ???
>
> Cheerio
>
> Russel
>




Reply via email to