[sr-dev] XMLrpc dispatcher
Olle E. Johansson
oej at edvina.net
Fri Jun 8 16:36:42 CEST 2012
While writing the previous mail I realized I could use the back door and sneak into good old deprecated mi from the rpc interface.
Now I'm getting a list with basically a bunch of parseable strings embedded in XML. Which works for me.
Not the best way as seen from an XML standpoint, but still something that works (TM)!
Have a great Kamailio weekend!
/O
HTTP/1.0 200 OK
Content-Length: 714
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><array><data>
<value><string>SET_NO:: 2</string></value>
<value><string>SET:: 1</string></value>
<value><string>URI:: sip:pstn1.astritech.org;transport=udp2 flags=AX priority=0 attrs=</string></value>
<value><string>URI:: sip:pstn2.astritech.org;transport=udp flags=AX priority=0 attrs=</string></value>
<value><string>SET:: 2</string></value>
<value><string>URI:: sip:127.0.0.1:5080 flags=AX priority=200 attrs=</string></value>
<value><string>URI:: sip:127.0.0.1:5084 flags=AX priority=50 attrs=</string></value>
<value><string>URI:: sip:127.0.0.1:5082 flags=IX priority=10 attrs=</string></value>
</data></array></value>
</param>
</params>
</methodResponse>
More information about the sr-dev
mailing list