<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:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Had
            same problem with &amp; in the contact field<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
              lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
            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>&nbsp;</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. &lt;<a
            moz-do-not-send="true"
            href="mailto:mailing-lists@phoenixinternet.net">mailing-lists@phoenixinternet.net</a>&gt;
          wrote:<br>
          &gt; I believe I have found a bug in the response of "sofia
          xmlstatus profile<br>
          &gt; internal reg". I just do not know how to report it.<br>
          &gt;<br>
          &gt; It is not returning all special characters in UTF-8
          format. For example<br>
          &gt; '&lt;' should be returned as &amp;lt;. In the
          &lt;contact&gt; xml tag it returns a<br>
          &gt; correct string. In the &lt;agent&gt; xml tag it does not
          return it correctly.<br>
          &gt; Below is an example from my test server. The 3rd entry
          has an agent that<br>
          &gt; returns both less than and greater than symbols and
          freeswitch is not<br>
          &gt; sending them as &amp;lt; or &amp;gt;.<br>
          &gt;<br>
          &gt; freeswitch@internal&gt; sofia xmlstatus profile internal
          reg<br>
          &gt; &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;<br>
          &gt; &lt;profile&gt;<br>
          &gt; &nbsp; &nbsp;&lt;registrations&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp;&lt;registration&gt;<br>
          &gt; &lt;call-id&gt;<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>&lt;/call-id&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;user&gt;<a moz-do-not-send="true"
            href="mailto:190@192.168.1.6">190@192.168.1.6</a>&lt;/user&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;contact&gt;"user"<br>
          &gt;
          &amp;lt;<a class="moz-txt-link-freetext" href="sip:190@192.168.1.90:1307;transport=udp&amp;gt">sip:190@192.168.1.90:1307;transport=udp&amp;gt</a>;&lt;/contact&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;agent&gt;Cisco-CP7940G/8.0&lt;/agent&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;status&gt;Registered(UDP)(unknown)
          exp(2012-08-31 16:42:28)<br>
          &gt; expsecs(153)&lt;/status&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;host&gt;<a moz-do-not-send="true"
            href="http://test.abc.com">test.abc.com</a>&lt;/host&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp;
          &nbsp;&lt;network-ip&gt;192.168.1.90&lt;/network-ip&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;network-port&gt;1307&lt;/network-port&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;sip-auth-user&gt;190&lt;/sip-auth-user&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;sip-auth-realm&gt;<a moz-do-not-send="true"
            href="http://test.abc.com">test.abc.com</a>&lt;/sip-auth-realm&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mwi-account&gt;<a moz-do-not-send="true"
            href="mailto:190@192.168.1.6">190@192.168.1.6</a>&lt;/mwi-account&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp;&lt;/registration&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp;&lt;registration&gt;<br>
          &gt;
&lt;call-id&gt;NTVkZWI5NDM5Yzk0ZWY4M2Q0NDcyNDE0YWM0OTJkMWE.&lt;/call-id&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;user&gt;<a moz-do-not-send="true"
            href="mailto:106@192.168.1.6">106@192.168.1.6</a>&lt;/user&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;contact&gt;"Gilbert Gutierrez"<br>
          &gt;
&amp;lt;<a class="moz-txt-link-freetext" href="sip:106@192.168.1.90:18360;rinstance=4645682e9800585c&amp;gt">sip:106@192.168.1.90:18360;rinstance=4645682e9800585c&amp;gt</a>;&lt;/contact&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;agent&gt;X-Lite release 5.0.0 stamp
          67284&lt;/agent&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;status&gt;Registered(UDP)(unknown)
          exp(2012-08-31 17:06:16)<br>
          &gt; expsecs(1581)&lt;/status&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;host&gt;<a moz-do-not-send="true"
            href="http://test.abc.com">test.abc.com</a>&lt;/host&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp;
          &nbsp;&lt;network-ip&gt;192.168.1.90&lt;/network-ip&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;network-port&gt;18360&lt;/network-port&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;sip-auth-user&gt;106&lt;/sip-auth-user&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;sip-auth-realm&gt;<a moz-do-not-send="true"
            href="http://test.abc.com">test.abc.com</a>&lt;/sip-auth-realm&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mwi-account&gt;<a moz-do-not-send="true"
            href="mailto:106@192.168.1.6">106@192.168.1.6</a>&lt;/mwi-account&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp;&lt;/registration&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp;&lt;registration&gt;<br>
          &gt; &lt;call-id&gt;<a moz-do-not-send="true"
            href="mailto:QC8jV0-xAG1nCDtN2@test.abc.com">QC8jV0-xAG1nCDtN2@test.abc.com</a>&lt;/call-id&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;user&gt;<a moz-do-not-send="true"
            href="mailto:180@192.168.1.6">180@192.168.1.6</a>&lt;/user&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;contact&gt;PI FAX
          &amp;lt;<a class="moz-txt-link-freetext" href="sip:180@192.168.1.114:5060&amp;gt">sip:180@192.168.1.114:5060&amp;gt</a>;&lt;/contact&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;agent&gt;Patton Smartlink 4020 &lt;3.01.002
          20 EN n0<br>
          &gt; (1214)&gt;&lt;00a0ba017198&gt;&lt;/agent&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;status&gt;Registered(UDP)(unknown)
          exp(2012-08-31 17:24:31)<br>
          &gt; expsecs(2676)&lt;/status&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;host&gt;<a moz-do-not-send="true"
            href="http://test.abc.com">test.abc.com</a>&lt;/host&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp;
          &nbsp;&lt;network-ip&gt;192.168.1.114&lt;/network-ip&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;network-port&gt;5060&lt;/network-port&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;sip-auth-user&gt;180&lt;/sip-auth-user&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;sip-auth-realm&gt;<a moz-do-not-send="true"
            href="http://test.abc.com">test.abc.com</a>&lt;/sip-auth-realm&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mwi-account&gt;<a moz-do-not-send="true"
            href="mailto:180@192.168.1.6">180@192.168.1.6</a>&lt;/mwi-account&gt;<br>
          &gt; &nbsp; &nbsp; &nbsp;&lt;/registration&gt;<br>
          &gt; &nbsp; &nbsp;&lt;/registrations&gt;<br>
          &gt; &lt;/profile&gt;<br>
          &gt;<br>
          &gt;<br>
          &gt; Thank you,<br>
          &gt; Gilbert T. Gutierrez, Jr.<br>
          &gt; Operations Manager<br>
          &gt; Phoenix Internet<br>
          &gt;<br>
          &gt;
_________________________________________________________________________<br>
          &gt; Professional FreeSWITCH Consulting Services:<br>
          &gt; <a moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
          &gt; <a moz-do-not-send="true"
            href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
          &gt;<br>
          &gt; FreeSWITCH-powered IP PBX: The CudaTel Communication
          Server<br>
          &gt; <a moz-do-not-send="true" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
          &gt;<br>
          &gt; Official FreeSWITCH Sites<br>
          &gt; <a moz-do-not-send="true"
            href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
          &gt; <a moz-do-not-send="true"
            href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
          &gt; <a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
          &gt;<br>
          &gt; FreeSWITCH-users mailing list<br>
          &gt; <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          &gt; <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>
          &gt; 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>
          &gt; <a moz-do-not-send="true"
            href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
          &gt;<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>