Hello,
run with debug=3 and what the logs to see if there are error/warning messages.
Cheers,
Daniel
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@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