[Freeswitch-users] MOD_XML_CDR is sending invalid XML...

Peter Blackford peter at onemetric.com
Sat Mar 10 14:14:45 MSK 2012


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 at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at onemetric.com.au
*W:* www.onemetric.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120310/45e4327d/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list