Best way to handle provider specific SMPP error code

Best way to handle provider specific SMPP error code SearchSearch
Author Message
David Balme
New member
Username: Davidbalme

Post Number: 6
Registered: 09-2014
Posted on Friday, July 22, 2016 - 03:58 pm:   

Hi Support,

We recently encountered a bit of a problem where a user of ours submitted a high volume of messages to India to numbers which are on the DND register and their implementation rejected the messages at SMPP level as opposed to returning a DLR containing the information. This caused a high volume of messages to sit in the NowSMS queue retry policy.

Obviously we want to avoid this happening again, what is the best way or what options do we have available to handle this scenario?

We received:

LastErrorInfo=ERROR: SMS Provider Specific Error Code 0x00000436

Kind regards,
David
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5697
Registered: 08-2008
Posted on Friday, July 22, 2016 - 06:22 pm:   

Hi David,

The best way to handle this would be to set SMPPRejectErrorCodes=436

There is more explanation here: http://www.nowsms.com/smpp-error-code-handling-in-nowsms

--
Des
NowSMS Support
David Balme
New member
Username: Davidbalme

Post Number: 7
Registered: 09-2014
Posted on Monday, July 25, 2016 - 09:05 am:   

Hi Des,

Thank you for the response, this is what we need.

Please can you confirm if I can set the SMPPRejectErrorCodes value at SMSC level rather than globally?

Cheers,
David
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5699
Registered: 08-2008
Posted on Monday, July 25, 2016 - 08:15 pm:   

Hi David,

Yes that is possible. The setting can be connection specific under [SMPP - server:port] or global under [SMSGW].


--
Des
NowSMS Support
David Balme
New member
Username: Davidbalme

Post Number: 8
Registered: 09-2014
Posted on Tuesday, July 26, 2016 - 09:12 am:   

Thanks Des, worked exactly how I needed!