Re: 5 digit error codes
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Hillel wrote:
> Hi,
>
> We are using SMPP version 3.4 and the network_error_code is found in the
> smpp spec under optional parameters for deliver_sm. If you connect to a SMS
> aggregator and request a delivery receipt, they accept the SMS and try route
> it on to the SMSC that finally sends. I think what's happening, is when they
> try to send the SMS to the SMSC that will actually send it, they get back in
> the submit_sm_response the command_status which sometimes gives the reason
> why the SMS was not valid. Then they take the command_status and map it to
> their 5 digit number code and since you have requested a delivery receipt,
> they send a delivery receipt back to you with this number in the
> network_error_code.
>
> The question is, it seems from the Kannel logs the error codes are always in
> a 3 digit form i.e. 001 or 000 etc
with 3 digits you refer to the DLR message itself, right? This has nothing to do
with a optional parameter from the SMSC.
>
> Will Kannel give back 5 digit error codes should the SMSC aggregator send
> them back?
> and other than requesting the dlr when sending the SMS, are there any other
> configuration options or patches required to receive 5 digit error codes?
yes, obviously you will need to pass the 5 digit value from the optional
parameter to the upper layer (application) to use it.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------