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 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? Thanks -----Original Message----- From: Andreas Fink [mailto:[EMAIL PROTECTED] Sent: 21 August 2006 20:55 To: [EMAIL PROTECTED] Cc: Kannel Devel Subject: Re: 5 digit error codes could you elaborate which SMSC/driver type this is? On 21.08.2006, at 18:21, Hillel wrote: Hi, In the deliver_sm you get back the network_error_code if the SMS was not delivered. I've been told by an SMSC service provider that they will give back 5 digit error codes in certain cases and we need to setup our system to receive them. From Kannel the error codes are always in a 3 digit form i.e. 001 or 000. Will Kannel give back 5 digit error codes should the SMSC send them back? and besides requesting the dlr when sending the SMS, is there any other configuration or patch required to receive 5 digit error codes? Rgds Andreas Fink Fink Consulting GmbH --------------------------------------------------------------- Tel: +41-61-6666332 Fax: +41-61-6666331 Mobile: +41-79-2457333 Address: Clarastrasse 3, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com --------------------------------------------------------------- ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink Yahoo: finkconsulting SMS: +41792457333
