[SR-Users] sdp_remove_codecs_by_id does not remove 101
Daniel-Constantin Mierla
miconda at gmail.com
Tue May 14 14:05:09 CEST 2019
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 at 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 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
More information about the sr-users
mailing list