Re: combined patch SMPP things

Benjamin Lee <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Heheh, yes, this is nicely specialised for this case. ;-) ... In face, I
wrote the simple debug so that I could figure out what those
ESME_RTHROTTLED messages were.

I like this addition.


On Tuesday, 2002-05-07 at 05:08:49 AM, Nisan Bloch scribbled:
> At 01:01 PM 5/6/02 +0200, Stipe Tolj wrote:
> >Benjamin Lee schrieb:
> >
> >looks good for me, +1 for commitment, any other opinions?
> 
> 
> yeah +1 for me.. except that the generic nack can be  used by the SMSC for 
> ESME_RTHROTTLED. I have the following for generic_nack_resp
> 
> case generic_nack_resp:
>          {
>                          error(0, "SMPP: NACK PDU type 0x%08lx, "
>                                  "code 0x%08lx.",
>                          pdu->type, pdu->u.generic_nack_resp.command_status);
> 
> 
>                          if (pdu->u.generic_nack_resp.command_status == 
> 0x58) //ESME_RTHROTTLED
>                          {
>                                  warning(0, "SMPP: nack: %s 
> ESME_RTHROTTLED. Re re queuing",octstr_get_cstr(smpp->conn->name));
>                          reason = smpp_status_to_smscconn_failure_reason(
>                                                          pdu->u.submit_sm.command_status);
>                          bb_smscconn_send_failed(smpp->conn, msg, reason);
>                           --(*pending_submits);
>                          }
> 
>          }
>      break;
> 
> 
> 
> nisan
> 
> >Stipe
> >
> >[email protected]
> >-------------------------------------------------------------------
> >Wapme Systems AG
> >
> >Münsterstr. 248
> >40470 Düsseldorf
> >
> >Tel: +49-211-74845-0
> >Fax: +49-211-74845-299
> >
> >E-Mail: [email protected]
> >Internet: http://www.wapme-systems.de
> >-------------------------------------------------------------------
> >wapme.net - wherever you are
> 

-- 
Benjamin Lee

71-75 City Rd, South Melbourne, VIC 3006 Australia  http://www.dotwap.com/
Phone +61 3 9698 1840  Mobile +61 414 717 573  Fax +61 3 9698 1841
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.