[Freeswitch-users] sofia xmlstatus profile internal reg

Nitin Tomer ntomer at newgen.co.in
Sun Sep 2 16:37:54 MSD 2012


Regards

Nitin

Michael Collins <msc at freeswitch.org> wrote:

>Definitely put this on jira.freeswitch.org.
>-MC
>
>On Friday, August 31, 2012, Gilbert T. Gutierrez, Jr. <
>mailing-lists at phoenixinternet.net> wrote:
>> I believe I have found a bug in the response of "sofia xmlstatus profile
>> internal reg". I just do not know how to report it.
>>
>> It is not returning all special characters in UTF-8 format. For example
>> '<' should be returned as &lt;. In the <contact> xml tag it returns a
>> correct string. In the <agent> xml tag it does not return it correctly.
>> Below is an example from my test server. The 3rd entry has an agent that
>> returns both less than and greater than symbols and freeswitch is not
>> sending them as &lt; or &gt;.
>>
>> freeswitch at internal> sofia xmlstatus profile internal reg
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <profile>
>>    <registrations>
>>      <registration>
>> <call-id>000ed700-06320003-0572ebcb-59776109 at 172.16.5.83</call-id>
>>          <user>190 at 192.168.1.6</user>
>>          <contact>"user"
>> &lt;sip:190 at 192.168.1.90:1307;transport=udp&gt;</contact>
>>          <agent>Cisco-CP7940G/8.0</agent>
>>          <status>Registered(UDP)(unknown) exp(2012-08-31 16:42:28)
>> expsecs(153)</status>
>>          <host>test.abc.com</host>
>>          <network-ip>192.168.1.90</network-ip>
>>          <network-port>1307</network-port>
>>          <sip-auth-user>190</sip-auth-user>
>>          <sip-auth-realm>test.abc.com</sip-auth-realm>
>>          <mwi-account>190 at 192.168.1.6</mwi-account>
>>      </registration>
>>      <registration>
>> <call-id>NTVkZWI5NDM5Yzk0ZWY4M2Q0NDcyNDE0YWM0OTJkMWE.</call-id>
>>          <user>106 at 192.168.1.6</user>
>>          <contact>"Gilbert Gutierrez"
>> &lt;sip:106 at 192.168.1.90:18360;rinstance=4645682e9800585c&gt;</contact>
>>          <agent>X-Lite release 5.0.0 stamp 67284</agent>
>>          <status>Registered(UDP)(unknown) exp(2012-08-31 17:06:16)
>> expsecs(1581)</status>
>>          <host>test.abc.com</host>
>>          <network-ip>192.168.1.90</network-ip>
>>          <network-port>18360</network-port>
>>          <sip-auth-user>106</sip-auth-user>
>>          <sip-auth-realm>test.abc.com</sip-auth-realm>
>>          <mwi-account>106 at 192.168.1.6</mwi-account>
>>      </registration>
>>      <registration>
>> <call-id>QC8jV0-xAG1nCDtN2 at test.abc.com</call-id>
>>          <user>180 at 192.168.1.6</user>
>>          <contact>PI FAX &lt;sip:180 at 192.168.1.114:5060&gt;</contact>
>>          <agent>Patton Smartlink 4020 <3.01.002 20 EN n0
>> (1214)><00a0ba017198></agent>
>>          <status>Registered(UDP)(unknown) exp(2012-08-31 17:24:31)
>> expsecs(2676)</status>
>>          <host>test.abc.com</host>
>>          <network-ip>192.168.1.114</network-ip>
>>          <network-port>5060</network-port>
>>          <sip-auth-user>180</sip-auth-user>
>>          <sip-auth-realm>test.abc.com</sip-auth-realm>
>>          <mwi-account>180 at 192.168.1.6</mwi-account>
>>      </registration>
>>    </registrations>
>> </profile>
>>
>>
>> Thank you,
>> Gilbert T. Gutierrez, Jr.
>> Operations Manager
>> Phoenix Internet
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>-- 
>Michael S Collins
>Twitter: @mercutioviz
>http://www.FreeSWITCH.org
>http://www.ClueCon.com
>http://www.OSTAG.org
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list