I did a patch over the SDPOPS module to do this.

If needed I can push it over git.

Kind regards.

Federico Santulli

NHM - S.R.L.
Via Raffaello Sanzio, 88
81031 Aversa (CE)
Italy


> Il giorno 5 mag 2020, alle ore 15:55, José Lopes <[email protected]> 
> ha scritto:
> 
> Hello,
> 
> I am using KSR.sdpops.keep_codecs_by_name to remove some codecs.
> When I make a call between two webrtc clients and I keep only VP8 video 
> codec, the browser rejects the call with 488 Not Acceptable Here.
> 
> I notice the attributes a=rtcp-fb: of codecs removed are kept.
> I removed that attributes with:
> KSR.textops.replace_body_atonce("a=rtcp-fb:1.*\n", "");
> KSR.textops.replace_body_atonce("a=rtcp-fb:98.*\n", "");
> And the call worked.
> 
> There is another way to remove these attributes related to codec name?
> Or is it possible to get the ids of the codecs with dynamic payload type 
> numbers from SDP?
> 
> Thanks for your attention.
> 
> Best regards,
> Jose Lopes
> 
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to