How do we know when error sending SMS ?

How do we know when error sending SMS ? SearchSearch
Author Message
Rudy Suhendra
New member
Username: Superman8822

Post Number: 9
Registered: 08-2012
Posted on Friday, September 28, 2012 - 10:19 am:   

Hello,
Is there anyway we know when now sms error sending SMS and return the CMS error code when sending through http ? Maybe we can query the status with some parameter?

Thank you :-)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4109
Registered: 08-2008
Posted on Thursday, October 04, 2012 - 02:52 pm:   

Hi Rudy,

We do not currently track delivery statuses. (Other than recording information in the log files.) So it is not possible to query this status.

It is, however, possible to request delivery reports (also called delivery receipts). Not all modems and providers support delivery reports, however, if you are concerned about delivery reports from CMS Error Codes, NowSMS will generate a non-delivery report when a message fails, even if the provider does not support delivery reports.

These delivery reports get forwarded to the 2-way command processor, which is how they are forwarded back to you.

For more information, see the following thread which discusses this in considerable detail: http://support.nowsms.com/discus/messages/1/24078.html

An alternative approach is monitoring the NowSMS accounting callbacks.

They are described here: http://www.nowsms.com/doc/advanced-configuration-settings/sms-accounting-callbac ks

The Type=SMSOut call back is triggered after every send attempt. So if you are mostly interested in monitoring modem errors, this would be the best way to find out.

--
Des
NowSMS Support
Rudy Suhendra
New member
Username: Superman8822

Post Number: 12
Registered: 08-2012
Posted on Friday, October 05, 2012 - 10:08 am:   

Thanks Des :-) Will take a look at it!