Check Current SMSC Connection Status | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ |
◄ ► |
Author | Message | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6290 Registered: 08-2008 |
The preferred way for an external monitoring application to detect if NowSMS is experiencing connectivity errors is to use the XML-based status query. The XML status query interface described at https://nowsms.com/xml-status-query-for-smsc-connection-status-and-statistics One of the easiest ways to parse the XML data is with PHP. Some examples are provided at https://nowsms.com/nowsms-status-query-with-php One of the examples at the above link shows a PHP script that specifically checks for connectivity errors.
This script connects to the NowSMS web interface, and passes credentials for an admin account in the URL parameters. Various status information and statistics are available, with more detail available at the links referenced above. Of particular interest, status information is available for each SMSC and MMS connection. In the XML, each SMSC connection has a separate <SMSCStatus> element, like this: <SMSCStatus> Or ... <SMSCStatus> The PHP script above looks for SMSC connections where the Status is not OK. |