<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><a href="https://freeswitch.org/jira/browse/FS-7258" class="">https://freeswitch.org/jira/browse/FS-7258</a><div class=""><br class=""></div><div class="">We still have not decided what the best solution for this is.</div><div class=""><br class=""></div><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On Apr 17, 2015, at 3:38 PM, Kurtis Heimerl &lt;<a href="mailto:kheimerl@cs.berkeley.edu" class="">kheimerl@cs.berkeley.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hey Users,<div class=""><br class=""></div><div class="">I seem to have found a bug. mod_xml_cdr is sending along invalid XML as it is not stripping the &lt;'s and &gt;'s off of important fields. For instance, we're sending along a P-Preferred-Identity header:</div><div class=""><br class=""></div><div class="">&nbsp;P-Preferred-Identity: &lt;<a href="http://sip:test@127.0.0.1:5060/" target="_blank" class="">sip:test@127.0.0.1:5060</a>&gt;<br class=""></div><div class=""><br class=""></div><div class="">and it's getting sent as the following in the xml:</div><div class=""><br class=""></div><div class=""><span style="color:rgb(204,34,85);font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:11.5200004577637px;line-height:22px;background-color:rgb(247,247,249)" class="">&lt;sip_P-Preferred-Identity&gt;&lt;<a href="mailto:sip%3Atest@127.0.0.1" target="_blank" class="">sip:test@127.0.0.1</a>&gt;&lt;/sip_P-Preferred-Identity&gt;</span></div><div class=""><span style="color:rgb(204,34,85);font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:11.5200004577637px;line-height:22px;background-color:rgb(247,247,249)" class=""><br class=""></span></div><div class="">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.&nbsp;</div><div class=""><br class=""></div><div class="">&lt;sip_full_from&gt;&lt;<a href="http://sip:test@127.0.0.1:5062/" target="_blank" class="">sip:test@127.0.0.1:5062</a>&gt;;tag=OBTSiqkuupshsxlztuyb&lt;/sip_full_from&gt;</div><div class=""><br class=""></div><div class="">Ideas on what's going on here?</div><div class=""><br class=""></div><div class="">Thanks!&nbsp;</div></div></div></blockquote></div><br class=""></div></body></html>