Hello,
it should remove 101 as well -- can you run with debug 3 for sdpops module and get the log messages?
One note: if you use rtpengine, then it takes the original sdp and replaces the whole sdp with a new one, not seeing the changes done by sdpops, unless you do msg_apply_changes().
Cheers, Daniel
On 14.05.19 13:33, Juha Heinanen wrote:
I tried to use sdp_remove_codecs_by_id("101") to remove "codec" 101 (dtmf) from sdp, but nothing happened. It is still there:
m=audio 31128 UDP/TLS/RTP/SAVPF 101 96. c=IN IP4 192.168.43.88 a=label:1. a=rtcp-rsize. a=ssrc:2880178656 cname:sip:test@test.tutpro.com. a=rtpmap:101 telephone-event/8000. a=rtpmap:96 opus/48000/2. a=fmtp:101 0-15.
Is that by design or a bug? If not a bug, is there some other means to remove 101?
-- Juha
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users