<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_ym19_1_1466185435239_3297"><span>Yes, Xlog messages are triggered during calls.</span></div><div id="yui_3_16_0_ym19_1_1466185435239_3297"><span><br></span></div><div id="yui_3_16_0_ym19_1_1466185435239_3297" dir="ltr"><br></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, June 17, 2016 6:35 PM, Fred Posner <fred@palner.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container">On 06/17/2016 09:25 AM, Richard Fuchs wrote:<div class="yqt6453433740" id="yqtfd74989"><br clear="none">> On 17/06/16 03:46 AM, Dmitry wrote:<br clear="none">>> Hi all<br clear="none">>> I have the following code:<br clear="none">>><br clear="none">>>   if($T_reply_code=="200")<br clear="none">>>          {<br clear="none">>>          if(has_body("application/sdp"))<br clear="none">>>              {<br clear="none">>>                 xlog("L_INFO", "RTPENGINE received internal reply<br clear="none">>> $T_reply_code $rr SDP extra lines will be removed");<br clear="none">>><br clear="none">>>                     set_rtpengine_set("0");<br clear="none">>>                     rtpengine_manage();<br clear="none">>>                  sdp_remove_line_by_prefix("a=rtcp");<br clear="none">>>                  sdp_remove_line_by_prefix("a=ssrc");<br clear="none">>>                  sdp_remove_line_by_prefix("a=ice");<br clear="none">>>                  sdp_remove_line_by_prefix("a=candidate");<br clear="none">>><br clear="none">>>                  xlog("L_INFO", "RTPENGINE received internal reply<br clear="none">>> $T_reply_code $rr SDP extra lines removed with SDPOPS");<br clear="none">>><br clear="none">>>              }<br clear="none">>><br clear="none">>>          }<br clear="none">>> When I look through traces  - I see that 200 ok(with SDP) has all these<br clear="none">>> attributes and they are not removed.<br clear="none">>><br clear="none">>> Why SDPOPS does not remove these attributes?<br clear="none">> <br clear="none">> Probably because there's a problem rewriting parts of the SDP body more<br clear="none">> than once. But if you don't want ICE attributes in the output SDP, you<br clear="none">> can use the rtpengine flags ICE=remove. You can influence rtcp-mux<br clear="none">> attributes in the same way. See docs.<br clear="none">> <br clear="none">> Cheers</div><br clear="none">> <br clear="none"><br clear="none">Are your log messages triggered?<br clear="none"><br clear="none">--fred<div class="yqt6453433740" id="yqtfd22043"><br clear="none"><br clear="none"></div><br><div class="yqt6453433740" id="yqtfd60398">_______________________________________________<br clear="none">SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:sr-users@lists.sip-router.org" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br clear="none"><a shape="rect" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>