[SR-Users] How to use sdp_remove_media() ?
Daniel-Constantin Mierla
miconda at gmail.com
Fri Nov 1 10:35:30 CET 2019
Hello,
run with debug=3 and what the logs to see if there are error/warning
messages.
Cheers,
Daniel
On 01.11.19 10:26, Denys Pozniak wrote:
> Hello!
>
> I'm trying to remove m=video stream from incoming SIP/SDP request in
> th way below:
>
> modparam("rtpengine", "read_sdp_pv", "$avp(read_sdp_pv)")
> modparam("rtpengine", "write_sdp_pv", "$avp(write_sdp_pv)")
> ...
> sdp_remove_media("video");
> msg_apply_changes();
> sdp_get("$avp(read_sdp_pv)");
> xlog("L_WARN","[$cfg(route)] *m=video removed* ci| rb=/$rb/ \n");
> xlog("L_WARN","[$cfg(route)] *m=video removed* ci|
> avp(read_sdp_pv)=/$avp(read_sdp_pv)/ \n");
> rtpengine_manage("$avp(rtpengine_offer)");
> set_body("$avp(write_sdp_pv)", "application/sdp");
>
> But no luck, xlog shows m=video in $rb and $avp(rtp_sdp_read) as well.
>
> --
>
> BR,
> Denys Pozniak
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at 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
Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191101/b1faa789/attachment.html>
More information about the sr-users
mailing list