Skip to content

Instantly share code, notes, and snippets.

@ghostfreak3000
Created November 22, 2023 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghostfreak3000/586d39db0cbd690b92e3890a3820bcc2 to your computer and use it in GitHub Desktop.
Save ghostfreak3000/586d39db0cbd690b92e3890a3820bcc2 to your computer and use it in GitHub Desktop.
Sample Kannel Status XML response
<?xml version="1.0"?>
<gateway>
<version>Kannel bearerbox version `1.4.5'.
Compiler `9.2.1 20200220'.
System Linux, release 5.15.90.1-microsoft-standard-WSL2, version #1 SMP Fri Jan 27 02:56:13 UTC 2023, machine x86_64.
Hostname 949c6a91c5c8, IP 172.20.0.10.
Libxml version 2.9.10.
Using OpenSSL 1.1.1d 10 Sep 2019.
Compiled with MySQL 8.0.19, using MySQL 8.0.35.
Compiled with PostgreSQL 12.2 (Ubuntu 12.2-1).
Using SQLite 3.31.1.
Using hiredis API 0.14.0
Using native malloc.
</version>
<status>running, uptime 0d 0h 4m 8s</status>
<wdp>
<received><total>0</total><queued>0</queued></received>
<sent><total>0</total><queued>0</queued></sent>
</wdp>
<sms>
<received><total>0</total><queued>0</queued></received>
<sent><total>0</total><queued>0</queued></sent>
<storesize>-1</storesize>
<inbound>0.00,0.00,0.00</inbound>
<outbound>0.00,0.00,0.00</outbound>
</sms>
<dlr>
<received><total>0</total></received>
<sent><total>0</total></sent>
<inbound>0.00,0.00,0.00</inbound>
<outbound>0.00,0.00,0.00</outbound>
<queued>0</queued>
<storage>internal</storage>
</dlr>
<boxes>
<box>
<type>smsbox</type>
<id></id>
<IP>172.20.0.11</IP>
<queue>0</queue>
<status>on-line 0d 0h 4m 5s</status>
<ssl>no</ssl>
</box><box>
<type>smsbox</type>
<id>sqlbox</id>
<IP>172.20.0.13</IP>
<queue>0</queue>
<status>on-line 0d 0h 3m 25s</status>
<ssl>no</ssl>
</box></boxes>
<smscs><count>2</count>
<smsc>
<name>FAKE:10000</name>
<admin-id>FAKE</admin-id>
<id>FAKE</id>
<status>connecting</status>
<failed>0</failed>
<queued>0</queued>
<sms>
<received>0</received>
<sent>0</sent>
<inbound>0.00,0.00,0.00</inbound>
<outbound>0.00,0.00,0.00</outbound>
</sms>
<dlr>
<received>0</received>
<sent>0</sent>
<inbound>0.00,0.00,0.00</inbound>
<outbound>0.00,0.00,0.00</outbound>
</dlr>
</smsc>
<smsc>
<name>SMPP:smppsim_cm:2776/2776:smppclient1:VMA</name>
<admin-id>cm</admin-id>
<id>cm</id>
<status>online 245s</status>
<failed>0</failed>
<queued>0</queued>
<sms>
<received>0</received>
<sent>0</sent>
<inbound>0.00,0.00,0.00</inbound>
<outbound>0.00,0.00,0.00</outbound>
</sms>
<dlr>
<received>0</received>
<sent>0</sent>
<inbound>0.00,0.00,0.00</inbound>
<outbound>0.00,0.00,0.00</outbound>
</dlr>
</smsc>
</smscs>
</gateway>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment