<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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.<br>
<br>
<a class="moz-txt-link-freetext" href="http://code.google.com/p/fusionpbx/issues/list">http://code.google.com/p/fusionpbx/issues/list</a><br>
<br>
Gilbert<br>
<br>
On 8/31/2012 11:28 PM, Mr Nathan Downes wrote:<br>
</div>
<blockquote cite="mid:BLU170-DS18E69BCC0DBB9E8222986FD7A50@phx.gbl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Similar
to <a moz-do-not-send="true"
href="http://jira.freeswitch.org/browse/FS-3971">http://jira.freeswitch.org/browse/FS-3971</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Had
same problem with & in the contact field<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On
Behalf Of </b>Michael Collins<br>
<b>Sent:</b> Saturday, 1 September 2012 1:47 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] sofia xmlstatus
profile internal reg<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Definitely put
this on <a moz-do-not-send="true"
href="http://jira.freeswitch.org">jira.freeswitch.org</a>. <br>
-MC<br>
<br>
On Friday, August 31, 2012, Gilbert T. Gutierrez, Jr. <<a
moz-do-not-send="true"
href="mailto:mailing-lists@phoenixinternet.net">mailing-lists@phoenixinternet.net</a>>
wrote:<br>
> I believe I have found a bug in the response of "sofia
xmlstatus profile<br>
> internal reg". I just do not know how to report it.<br>
><br>
> It is not returning all special characters in UTF-8
format. For example<br>
> '<' should be returned as &lt;. In the
<contact> xml tag it returns a<br>
> correct string. In the <agent> xml tag it does not
return it correctly.<br>
> Below is an example from my test server. The 3rd entry
has an agent that<br>
> returns both less than and greater than symbols and
freeswitch is not<br>
> sending them as &lt; or &gt;.<br>
><br>
> freeswitch@internal> sofia xmlstatus profile internal
reg<br>
> <?xml version="1.0" encoding="ISO-8859-1"?><br>
> <profile><br>
> <registrations><br>
> <registration><br>
> <call-id><a moz-do-not-send="true"
href="mailto:000ed700-06320003-0572ebcb-59776109@172.16.5.83">000ed700-06320003-0572ebcb-59776109@172.16.5.83</a></call-id><br>
> <user><a moz-do-not-send="true"
href="mailto:190@192.168.1.6">190@192.168.1.6</a></user><br>
> <contact>"user"<br>
>
&lt;<a class="moz-txt-link-freetext" href="sip:190@192.168.1.90:1307;transport=udp&gt">sip:190@192.168.1.90:1307;transport=udp&gt</a>;</contact><br>
> <agent>Cisco-CP7940G/8.0</agent><br>
> <status>Registered(UDP)(unknown)
exp(2012-08-31 16:42:28)<br>
> expsecs(153)</status><br>
> <host><a moz-do-not-send="true"
href="http://test.abc.com">test.abc.com</a></host><br>
>
<network-ip>192.168.1.90</network-ip><br>
> <network-port>1307</network-port><br>
> <sip-auth-user>190</sip-auth-user><br>
> <sip-auth-realm><a moz-do-not-send="true"
href="http://test.abc.com">test.abc.com</a></sip-auth-realm><br>
> <mwi-account><a moz-do-not-send="true"
href="mailto:190@192.168.1.6">190@192.168.1.6</a></mwi-account><br>
> </registration><br>
> <registration><br>
>
<call-id>NTVkZWI5NDM5Yzk0ZWY4M2Q0NDcyNDE0YWM0OTJkMWE.</call-id><br>
> <user><a moz-do-not-send="true"
href="mailto:106@192.168.1.6">106@192.168.1.6</a></user><br>
> <contact>"Gilbert Gutierrez"<br>
>
&lt;<a class="moz-txt-link-freetext" href="sip:106@192.168.1.90:18360;rinstance=4645682e9800585c&gt">sip:106@192.168.1.90:18360;rinstance=4645682e9800585c&gt</a>;</contact><br>
> <agent>X-Lite release 5.0.0 stamp
67284</agent><br>
> <status>Registered(UDP)(unknown)
exp(2012-08-31 17:06:16)<br>
> expsecs(1581)</status><br>
> <host><a moz-do-not-send="true"
href="http://test.abc.com">test.abc.com</a></host><br>
>
<network-ip>192.168.1.90</network-ip><br>
> <network-port>18360</network-port><br>
> <sip-auth-user>106</sip-auth-user><br>
> <sip-auth-realm><a moz-do-not-send="true"
href="http://test.abc.com">test.abc.com</a></sip-auth-realm><br>
> <mwi-account><a moz-do-not-send="true"
href="mailto:106@192.168.1.6">106@192.168.1.6</a></mwi-account><br>
> </registration><br>
> <registration><br>
> <call-id><a moz-do-not-send="true"
href="mailto:QC8jV0-xAG1nCDtN2@test.abc.com">QC8jV0-xAG1nCDtN2@test.abc.com</a></call-id><br>
> <user><a moz-do-not-send="true"
href="mailto:180@192.168.1.6">180@192.168.1.6</a></user><br>
> <contact>PI FAX
&lt;<a class="moz-txt-link-freetext" href="sip:180@192.168.1.114:5060&gt">sip:180@192.168.1.114:5060&gt</a>;</contact><br>
> <agent>Patton Smartlink 4020 <3.01.002
20 EN n0<br>
> (1214)><00a0ba017198></agent><br>
> <status>Registered(UDP)(unknown)
exp(2012-08-31 17:24:31)<br>
> expsecs(2676)</status><br>
> <host><a moz-do-not-send="true"
href="http://test.abc.com">test.abc.com</a></host><br>
>
<network-ip>192.168.1.114</network-ip><br>
> <network-port>5060</network-port><br>
> <sip-auth-user>180</sip-auth-user><br>
> <sip-auth-realm><a moz-do-not-send="true"
href="http://test.abc.com">test.abc.com</a></sip-auth-realm><br>
> <mwi-account><a moz-do-not-send="true"
href="mailto:180@192.168.1.6">180@192.168.1.6</a></mwi-account><br>
> </registration><br>
> </registrations><br>
> </profile><br>
><br>
><br>
> Thank you,<br>
> Gilbert T. Gutierrez, Jr.<br>
> Operations Manager<br>
> Phoenix Internet<br>
><br>
>
_________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
> <a moz-do-not-send="true" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
> <a moz-do-not-send="true"
href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
> <a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
><br>
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true" href="http://www.ClueCon.com"
target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org"
target="_blank">http://www.OSTAG.org</a><br>
<br>
<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>