[SR-Users] Why SDPOPS does not remove attributes in SDP

Dmitry mbike2000ru at yahoo.com
Fri Jun 17 09:46:43 CEST 2016


Hi allI have the following code:
 if($T_reply_code=="200")        {        if(has_body("application/sdp"))            {               xlog("L_INFO", "RTPENGINE received internal reply $T_reply_code $rr SDP extra lines will be removed");
                   set_rtpengine_set("0");                   rtpengine_manage();                sdp_remove_line_by_prefix("a=rtcp");                sdp_remove_line_by_prefix("a=ssrc");                sdp_remove_line_by_prefix("a=ice");                sdp_remove_line_by_prefix("a=candidate");
                xlog("L_INFO", "RTPENGINE received internal reply $T_reply_code $rr SDP extra lines removed with SDPOPS");
            }
        }When I look through traces  - I see that 200 ok(with SDP) has all these attributes and they are not removed.
Why SDPOPS does not remove these attributes?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160617/1b186161/attachment.html>


More information about the sr-users mailing list