[OpenSIPS-Users] xmlrpc fields syntax not equal in the output

Marcello Lupo mlist at itspecialist.it
Thu Dec 1 00:27:53 CET 2011


Hi to all,
in our system we have more or less 1900 AOR registered.
We use the mi_xmlrpc module to query the proxy on the realtime AOR in the system.
The issue is that for some records the mi_xmlrpc answer with AOR and Contact in the same field and for other it splits in 2 different fields.
On 1900 about 1800 are in the same field and the rest in separate field.
Can you tell us why it is happening?
It is a problem to parse the output.

Es: same field

<value><string>AOR:: 1234567
Contact:: sip:1234567 at 10.10.10.10:5060 Q=0.1
</string></value>
<value><string>Expires:: 829
</string></value>
<value><string>Callid:: 99f8cfddeb296001790a3a5260eae2b9 at void.foo.org
</string></value>
<value><string>Cseq:: 1085424177
</string></value>
<value><string>User-agent:: Patton SN4634 3BIS UI MxSF v3.2.8.45 00A0BA037DA9 R4.2 2007-09-19 H323 SIP BRI
</string></value>
<value><string>Path:: sip:10.10.10.2;lr
</string></value>
<value><string>State:: CS_SYNC
</string></value>
<value><string>Flags:: 0
</string></value>
<value><string>Cflag:: 0
</string></value>
<value><string>Socket:: udp:10.10.10.10:5060
</string></value>
<value><string>Methods:: 4294967295
</string></value>


Es: separate fields:

<value><string>AOR:: 09876543
</string></value>
<value><string>Contact:: sip: 09876543 at 10.10.10.10:5060 Q=0.1
</string></value>
<value><string>Expires:: 3517
</string></value>
<value><string>Callid:: 554b5a6c-965 at 172.16.64.245
</string></value>
<value><string>Cseq:: 10
</string></value>
<value><string>User-agent:: OpenSER (1.3.2-notls (arm/linux))
</string></value>
<value><string>Path:: sip:10.10.10.2;lr
</string></value>
<value><string>State:: CS_SYNC
</string></value>
<value><string>Flags:: 0
</string></value>
<value><string>Cflag:: 0
</string></value>
<value><string>Socket:: udp:10.10.10.10:5060
</string></value>
<value><string>Methods:: 4294967295
</string></value>

Have any clues?
Thank you
Bye
Marcello




More information about the Users mailing list