Hello Daniel,

Thanks for your reply.

On the next link, I put the original SDP from webrtc client and the SDP after kamailio that exposes the issue.
I am using Kamailio version 5.3.3 with sdpops and rtpengine module.

https://pastebin.com/bYr0AcVT

Best Regards,
Jose Lopes


On Tue, May 5, 2020 at 3:52 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

can you give a sample SDP that exposes the issue so we can analyze with the code and be able to test?

Cheers,
Daniel

On 05.05.20 15:55, José Lopes wrote:
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
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda