Can you explain some parameters

Can you explain some parameters SearchSearch
Author Message
Alexandre
Frequent Contributor
Username: Alexd

Post Number: 61
Registered: 01-2008
Posted on Friday, May 21, 2010 - 03:18 pm:   

Hello Des!

How i can use parameters:SMPPErrorCode and RejectMessage for returning errors (like InvalidDestination,InvalidSource). As i see i can use like:
SMPPErrorCode=11
RejectMessage=11
Value in params must be in Hex or Integer ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2154
Registered: 08-2008
Posted on Friday, May 21, 2010 - 04:25 pm:   

Hi Alexandre,

The "SMPPErrorCode=" returned by an PreAuth accounting callback is expected to be in decimal. However, it can also be expressed in hex format like this: SMPPErrorCode=0x11

"RejectMessage=" is a text string. It will be returned in HTTP responses only. (Similarly, only SMPP clients will see the "SMPPErrorCode" value.)

--
Des
NowSMS Support
Alexandre
Frequent Contributor
Username: Alexd

Post Number: 62
Registered: 01-2008
Posted on Friday, May 21, 2010 - 04:55 pm:   

Thanks!