How define returned error type? | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through February 02, 2006 ⬆ |
◄ ► |
Author | Message | |||
Sokolov Alex New member Username: Sokolovalex Post Number: 2 Registered: 09-2005 |
hi! tell me, pls, how can i define returned error type for SMS Accounting CallBack? can i do return "message queue full" or "throttling error" or other error type? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5171 Registered: 10-2002 |
Hi Alex, The approach (which is new to v5.51k), is defined in the fourth message of the following thread: http://support.nowsms.com/discus/messages/1/11716.html Specifically: The “PreAuth” can also now return a specific SMPP error code to be returned to a submitting SMPP client (previously, if PreAuth=Deny” was returned in the response, the SMPP error code ESME_RTHROTTLED was always returned). To return an error, the HTTP response to the PreAuth accounting callback should include the text, SMPPErrorCode=#### or SMPPErrorCode=0x####, where #### is the SMPP error code to be returned. (If the “0x” prefix is present, the error code is assumed to be in hex format, otherwise it is assumed to be in decimal.) -bn | |||
Sokolov Alex New member Username: Sokolovalex Post Number: 4 Registered: 09-2005 |
but is not work! I send response datastring: "PreAuth=Deny\r\nSMPPErrorCode=0x0014\r\n", but NowSMS returned "Throttling" anyway! |