<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 <<a href="mailto:kheimerl@cs.berkeley.edu" class="">kheimerl@cs.berkeley.edu</a>> 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 <'s and >'s off of important fields. For instance, we're sending along a P-Preferred-Identity header:</div><div class=""><br class=""></div><div class=""> P-Preferred-Identity: <<a href="http://sip:test@127.0.0.1:5060/" target="_blank" class="">sip:test@127.0.0.1:5060</a>><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=""><sip_P-Preferred-Identity><<a href="mailto:sip%3Atest@127.0.0.1" target="_blank" class="">sip:test@127.0.0.1</a>></sip_P-Preferred-Identity></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. </div><div class=""><br class=""></div><div class=""><sip_full_from><<a href="http://sip:test@127.0.0.1:5062/" target="_blank" class="">sip:test@127.0.0.1:5062</a>>;tag=OBTSiqkuupshsxlztuyb</sip_full_from></div><div class=""><br class=""></div><div class="">Ideas on what's going on here?</div><div class=""><br class=""></div><div class="">Thanks! </div></div></div></blockquote></div><br class=""></div></body></html>