Now SMS 2008 XML features

Now SMS 2008 XML features SearchSearch

NowSMS Support Forums » NowSMS Support - SMS Issues » Archive through May 07, 2008 » Now SMS 2008 XML features « Previous || Next »
Author Message
Steven Tyler
New member
Username: Steventyler

Post Number: 8
Registered: 04-2006
Posted on Friday, March 07, 2008 - 08:51 pm:   

I just purchased NowSMS 2008 and needed documentation on the following feature :

"An XML-based query interface has been added to allow for external reporting of operational and performance statistics including SMSC connection status and messaging throughput."

I would like to start leveraging this interface but need documentation to know what the interface is and how to use it.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7559
Registered: 10-2002
Posted on Monday, March 10, 2008 - 07:38 pm:   

Hi Steven,

At this point, there is not much more detail available than what is in the note.

But maybe a full example will help illustrate.

The "Web Account Administration" interface needs to be enabled on the "Web" page of the NowSMS configuration dialog.

You issue an HTTP request to the standard web port of NowSMS, like this:

http://192.168.1.22:8800/ADMIN/XMLSTATUS?user=admin&password=adminpass

Substitute in your IP address and admin account/password as appropriate.

You'll get an HTTP XML response back. Here's an example I just received from one of our testing servers (I've added some line breaks for readability):

<NowSMSStatus>

<SMSCStatus>
<Name>SMPP - xps5:9000</Name>
<Status>OK</Status>
<MessagesToday>44640</MessagesToday>
<MessagesLast7Days>44640</MessagesLast7Days>
<MessagesLast30Days>44640</MessagesLast30Days>
</SMSCStatus>

<SMSCStatus>
<Name>SMPP - xps5:9001</Name>
<Status>OK</Status>
<MessagesToday>43369</MessagesToday>
<MessagesLast7Days>43369</MessagesLast7Days>
<MessagesLast30Days>43369</MessagesLast30Days>
</SMSCStatus>

<SMSCStatus>
<Name>SMPP - xps5#2:9000</Name>
<Status>OK</Status>
<MessagesToday>45308</MessagesToday>
<MessagesLast7Days>45308</MessagesLast7Days>
<MessagesLast30Days>45308</MessagesLast30Days>
</SMSCStatus>

<SMSCStatus>
<Name>SMPP - xps5#2:9001</Name>
<Status>OK</Status>
<MessagesToday>48856</MessagesToday>
<MessagesLast7Days>48856</MessagesLast7Days>
<MessagesLast30Days>48856</MessagesLast30Days>
</SMSCStatus>

<SMSOUTQ>92833</SMSOUTQ>
<SMSINQ>0</SMSINQ>
<SMSRCPTQ>0</SMSRCPTQ>

<SMSSubmitted>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</SMSSubmitted>

<SMSSent>
<MessagesToday>182173</MessagesToday>
<MessagesLast7Days>182173</MessagesLast7Days>
<MessagesLast30Days>182173</MessagesLast30Days>
</SMSSent>

<SMSReceived>
<MessagesToday>73786</MessagesToday>
<MessagesLast7Days>73786</MessagesLast7Days>
<MessagesLast30Days>73786</MessagesLast30Days>
</SMSReceived>

<SMSFailed>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</SMSFailed>

<SMSRetried>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</SMSRetried>

<MMSProcessedUser>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</MMSProcessedUser>

<MMSProcessedVASP>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</MMSProcessedVASP>

<MMSSentMMSC>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</MMSSentMMSC>

<MMSSentVASP>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</MMSSentVASP>

<MMSRetrieved>
<MessagesToday>0</MessagesToday>
<MessagesLast7Days>0</MessagesLast7Days>
<MessagesLast30Days>0</MessagesLast30Days>
</MMSRetrieved>

<SMPPClientList>
<ActiveConnectionCount>2</ActiveConnectionCount>
<ActiveConnection><Name>micro</Name><ConnectionType>S</ConnectionType><IPAddress >192.168.1.114</IPAddress></ActiveConnection>
<ActiveConnection><Name>micro</Name><ConnectionType>R</ConnectionType><IPAddress >192.168.1.114</IPAddress></ActiveConnection>
</SMPPClientList>

</NowSMSStatus>


Most of this information directly correlates to statistics that are displayed on the NowSMS configuration dialog.


-bn

Topics Forums Search Last 30 Days Login Login / Register Logout Logout