Hello, 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 "cdr" variable but the channel variables are not url encoded. Here is how the channel variable looks like: <sip_full_from>"56011588754" <sip:56011588754@78.171.232.101
;tag=as6b531a4d</sip_full_from>
When I set double logging (http and disk), in the XML file stored on the hard drive the channel variables are properly encoded. I tried to update FreeSWITCH (make current) but still nothing. Any suggestions? Thanks in advance.
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. I was playing with this the other day and had no issues. On 10 March 2012 20:01, Milos Jovanovic <development.milos@gmail.com> wrote:
Hello,
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 "cdr" variable but the channel variables are not url encoded.
Here is how the channel variable looks like: <sip_full_from>"56011588754" <sip:56011588754@78.171.232.101
;tag=as6b531a4d</sip_full_from>
When I set double logging (http and disk), in the XML file stored on the hard drive the channel variables are properly encoded.
I tried to update FreeSWITCH (make current) but still nothing.
Any suggestions? Thanks in advance.
_________________________________________________________________________ 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
-- *Peter Blackford* *Technical Director* *P: *02 4032 7940 *M:* 0412 699 176* * *E:* peter@onemetric.com.au *W:* www.onemetric.com.au
participants (2)
-
Milos Jovanovic
-
Peter Blackford