Re: Attempt to remove unwanted media streams has no effect

Henning Westerholt via sr-users <[email protected]> Sat, 18 Apr 2026 13:21:45 +0000
Newsgroups gmane.comp.voip.ser
Message-ID <AS8PR07MB7221D0E58CC31BB438141303BF212@AS8PR07MB7221.eurprd07.prod.outlook.com>
David,

can you give a bit more details what you are doing exactly? You are executing sdp_remove_media from sdops module in a failure_route and it don’t work? Or something else? Maybe some configuration snipped would be helpful.

Cheers,

Henning

From: David Villasmil via sr-users <[email protected]>
Sent: Saturday, April 18, 2026 2:06 PM
To: Kamailio (SER) - Users Mailing List <[email protected]>
Cc: Fred Posner <[email protected]>; David Villasmil <[email protected]>
Subject: [SR-Users] Re: Attempt to remove unwanted media streams has no effect

Thanks Fred for replying!

I tried that as well, didn't do what i needed. I don't need per codec but whole stream..
I should point out i'm this is not working on the failover route, on the request route it's fine


Regards,

David Villasmil
email: [email protected]<mailto:[email protected]>



On Fri, Apr 17, 2026 at 11:22 PM Fred Posner via sr-users <[email protected]<mailto:[email protected]>> wrote:
I’m not sure, from your mail, how you’re asking kamailio to “remove” the streams.

You can try something like:


https://www.kamailio.org/docs/modules/6.1.x/modules/sdpops.html#sdpops.f.keep_codecs_by_id

(Or by name)

You can also in freeswitch use absolute codecs to remove. If you’re sending it to a carrier, I can’t imagine any of them would allow video codecs.


Regards,

Fred Posner

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]<mailto:[email protected]>
To unsubscribe send an email to [email protected]<mailto:[email protected]>
Important: keep the mailing list in the recipients, do not reply only to the sender!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!