How are you viewing the results? If you are looking at the xml through a web browser then the browser is most likely un-encoding it.<div><br></div><div>I was playing with this the other day and had no issues.<br><br><div class="gmail_quote">
On 10 March 2012 20:01, Milos Jovanovic <span dir="ltr">&lt;<a href="mailto:development.milos@gmail.com">development.milos@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br><br>I use freeswitch and php web interface for it. When I tried to set mod_xml_cdr to send the POST requests to the URL of my script I get the XML passed in &quot;cdr&quot; variable but the channel variables are not url encoded.<br>

<br>Here is how the channel variable looks like:<br>&lt;sip_full_from&gt;&quot;56011588754&quot; &lt;<a href="mailto:sip%3A56011588754@78.171.232.101" target="_blank">sip:56011588754@78.171.232.101</a>&gt;;tag=as6b531a4d&lt;/sip_full_from&gt;<br>

<br>When I set double logging (http and disk), in the XML file stored on the hard drive the channel variables are properly encoded.<br><br>I tried to update FreeSWITCH (make current) but still nothing.<br><br>Any suggestions? Thanks in advance.<br>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><img src="http://www.onemetric.com.au/images/Signature.png"><br><div><b><font size="6">Peter Blackford</font></b></div><div><b>Technical Director</b></div>
<div><b style="background-color:rgb(255,255,255)"><font color="#33cc00">P: </font></b>02 4032 7940</div><div><b style="background-color:rgb(255,255,255)"><font color="#33cc00">M:</font></b>  0412 699 176<b style="background-color:rgb(255,255,255)"><font color="#33cc00"><br>
</font></b></div><div><b style="background-color:rgb(255,255,255)"><font color="#33cc00">E:</font></b> <a href="mailto:peter@onemetric.com.au" target="_blank">peter@onemetric.com.au</a><font color="#666666" face="&#39;Lucida Sans Unicode&#39;, &#39;Lucida Grande&#39;, sans-serif"><span style="font-size:12px"><br>
</span></font></div><div><b style="background-color:rgb(255,255,255)"><font color="#33cc00">W:</font></b> <a href="http://www.onemetric.com.au" target="_blank">www.onemetric.com.au</a><br></div><div><br></div><br>
</div>