Thanks Enver for your advise and Andreas for responding.
> -----Original Message-----
> From: Enver ALTIN [mailto:[EMAIL PROTECTED]
> Sent: 21 August 2006 23:31
> To: Hillel
> Cc: Andreas Fink; Kannel Devel
> Subject: Re: 5 digit error codes
>
>
> On Mon, Aug 21, 2006 at 10:28:46PM +0200, Hillel wrote:
> > Hi,
>
> Hi Hillel,
>
> > 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.
>
> You can change gw/smsc/smpp_pdu.def while which defines exactly what you
> want and recompile. Hopefully that will work.
> --
> Enver
>