Hello,

already tried the sdpops module?
https://kamailio.org/docs/modules/5.5.x/modules/sdpops.html#sdpops.f.sdp_remove_media

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <[email protected]> On Behalf Of mayamatakeshi
Sent: Thursday, August 25, 2022 1:49 AM
To: Kamailio (SER) - Users Mailing List <[email protected]>
Subject: [SR-Users] Disabling video rtp proxing

Hi,
I'm using rtpengine for RTP proxying with kamailio.
I use it just for audio.
But eventually some terminal reinvites offering video.
I don't want to refuse the request but just disable RTP proxying for video as 
my employer has limited bandwidth and want to reserve it only for audio.
So I checked the rtpengine module documentation but it seems there is no way to 
restrict RTP proxying to be performed only for m=audio.
I tried some things like
    replace_body("^m=video [0-9]+", "m=video 0");
and
    subst_body('/^m=video [0-9]+ /m=video 0 /');
and
    msg_apply_changes();
but still the RTP proxying  for video is set up.

Any hints on how to solve this?


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to