[sr-dev] [kamailio/kamailio] SDP filtering issues with sdpops module (#2755)

Daniel-Constantin Mierla notifications at github.com
Wed Jun 9 09:44:22 CEST 2021


The code needs to be updated to be able to catch `a=rtcp-fb:`, probably it was not a common attribute when the sdp parser was written and not covered at that time (iirc, it was @ovidiusas writing the sdp parser).

The solution right now is to use `subst_body()` function to remove lines from sdp matching `a=rtcp-fb:ID`, replacing the ID with the corresponding codec numeric ids:

  * https://www.kamailio.org/docs/modules/stable/modules/textops.html#textops.f.subst_body

If you do not want video media stream, there is a function to remove it all together:

  * https://www.kamailio.org/docs/modules/stable/modules/sdpops.html#sdpops.f.sdp_with_media

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2755#issuecomment-857467523
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210609/364efb57/attachment.htm>


More information about the sr-dev mailing list