[Freeswitch-users] sofia xmlstatus profile internal reg

Gilbert T. Gutierrez, Jr. mailing-lists at phoenixinternet.net
Tue Sep 4 20:48:49 MSD 2012


I attached my notes into the comment of your ticket since it's title 
encompasses my issue as well. Thanks for bringing that to my attention. 
If you are running FusionPBX, I have written some php code that could be 
modified to fix your issue. It will cause some issues though once they 
fix the bug. I posted it in the FusionPBX bug tracker as issue 303.

http://code.google.com/p/fusionpbx/issues/list

Gilbert

On 8/31/2012 11:28 PM, Mr Nathan Downes wrote:
>
> Similar to http://jira.freeswitch.org/browse/FS-3971
>
> Had same problem with & in the contact field
>
> *From:*freeswitch-users-bounces at lists.freeswitch.org 
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of 
> *Michael Collins
> *Sent:* Saturday, 1 September 2012 1:47 PM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] sofia xmlstatus profile internal reg
>
> Definitely put this on jira.freeswitch.org <http://jira.freeswitch.org>.
> -MC
>
> On Friday, August 31, 2012, Gilbert T. Gutierrez, Jr. 
> <mailing-lists at phoenixinternet.net 
> <mailto: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 
> <mailto:000ed700-06320003-0572ebcb-59776109 at 172.16.5.83></call-id>
> >          <user>190 at 192.168.1.6 <mailto: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 <http://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 
> <http://test.abc.com></sip-auth-realm>
> >          <mwi-account>190 at 192.168.1.6 
> <mailto:190 at 192.168.1.6></mwi-account>
> >      </registration>
> >      <registration>
> > <call-id>NTVkZWI5NDM5Yzk0ZWY4M2Q0NDcyNDE0YWM0OTJkMWE.</call-id>
> >          <user>106 at 192.168.1.6 <mailto: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 <http://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 
> <http://test.abc.com></sip-auth-realm>
> >          <mwi-account>106 at 192.168.1.6 
> <mailto:106 at 192.168.1.6></mwi-account>
> >      </registration>
> >      <registration>
> > <call-id>QC8jV0-xAG1nCDtN2 at test.abc.com 
> <mailto:QC8jV0-xAG1nCDtN2 at test.abc.com></call-id>
> >          <user>180 at 192.168.1.6 <mailto: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 <http://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 
> <http://test.abc.com></sip-auth-realm>
> >          <mwi-account>180 at 192.168.1.6 
> <mailto: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 <mailto: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 
> <mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120904/4f580af9/attachment.html 


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