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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@phoenixinternet.net <mailto:mailing-lists@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 <. 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 < or >.
freeswitch@internal> sofia xmlstatus profile internal reg <?xml version="1.0" encoding="ISO-8859-1"?> <profile> <registrations> <registration> <call-id>000ed700-06320003-0572ebcb-59776109@172.16.5.83 <mailto:000ed700-06320003-0572ebcb-59776109@172.16.5.83></call-id> <user>190@192.168.1.6 <mailto:190@192.168.1.6></user> <contact>"user" <sip:190@192.168.1.90:1307;transport=udp></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@192.168.1.6 <mailto:190@192.168.1.6></mwi-account> </registration> <registration> <call-id>NTVkZWI5NDM5Yzk0ZWY4M2Q0NDcyNDE0YWM0OTJkMWE.</call-id> <user>106@192.168.1.6 <mailto:106@192.168.1.6></user> <contact>"Gilbert Gutierrez" <sip:106@192.168.1.90:18360;rinstance=4645682e9800585c></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@192.168.1.6 <mailto:106@192.168.1.6></mwi-account> </registration> <registration> <call-id>QC8jV0-xAG1nCDtN2@test.abc.com <mailto:QC8jV0-xAG1nCDtN2@test.abc.com></call-id> <user>180@192.168.1.6 <mailto:180@192.168.1.6></user> <contact>PI FAX <sip:180@192.168.1.114:5060></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@192.168.1.6 <mailto:180@192.168.1.6></mwi-account> </registration> </registrations> </profile>
Thank you, Gilbert T. Gutierrez, Jr. Operations Manager Phoenix Internet
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org