[SR-Users] Disabling video rtp proxing

Henning Westerholt hw at gilawa.com
Thu Aug 25 08:39:54 CEST 2022


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 <sr-users-bounces at lists.kamailio.org> On Behalf Of mayamatakeshi
Sent: Thursday, August 25, 2022 1:49 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220825/7287a82b/attachment.htm>


More information about the sr-users mailing list