Send via HTTP Gateway and handle Error | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through November 14, 2013 ⬆ |
◄ ► |
Author | Message | |||
Yaser Yavari New member Username: Afeyavari Post Number: 8 Registered: 10-2012 |
Hi We have a NOWSMS configured to work with an HTTP Gateway , when a message send successfully HTTP gateway response a message like : id:73298 . I want to know when a message is not sent (because mobile number is wrong or ...) HTTP gateway how to tell to NOWSMS? what response should be generate? Thanks | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4601 Registered: 08-2008 |
Hi Yaser, That is a good question. I thought there was a message thread somewhere that discussed this, but I have been unable to find it. One or more "permanent failure" responses can be defined by editing the SMSGW.INI file, and under the appropriate [HTTP - server:port] header, adding ParseFailure=somestring. If somestring is present anywhere in the HTTP response, the submission will be considered a failure. To specify more than one "permanent failure" response, add ParseFailure1=somestring on a separate line (and increment the number if there are multiple potential responses). If a delivery receipt was requested, NowSMS will generate a non-delivery report in the case of such a failure. (SMPP clients also have the option of requesting only a report in the case of non-delivery, in which case a non-delivery report will also be generated.) -- Des NowSMS Support |