[Freeswitch-users] mod_xml_cdr note stripping <'s and >'s as needed
Kurtis Heimerl
kheimerl at cs.berkeley.edu
Fri Apr 17 23:38:57 MSD 2015
Hey Users,
I seem to have found a bug. mod_xml_cdr is sending along invalid XML as it
is not stripping the <'s and >'s off of important fields. For instance,
we're sending along a P-Preferred-Identity header:
P-Preferred-Identity: <sip:test at 127.0.0.1:5060>
and it's getting sent as the following in the xml:
<sip_P-Preferred-Identity><sip:test at 127.0.0.1></sip_P-Preferred-Identity>
However, this is invalid xml (for obvious reasons) and won't parse. I'm
currently in the process of double checking, but this seems to be new
behavior. I tried to strip some of these headers, but they are important
stuff like sip_full_from which I don't think I can.
<sip_full_from><sip:test at 127.0.0.1:5062
>;tag=OBTSiqkuupshsxlztuyb</sip_full_from>
Ideas on what's going on here?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/abdd9ad8/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list