[OpenSIPS-Users] sipmsgops and codec_move_up

Jim DeVito jim at devito.cc
Mon Sep 19 16:57:04 CEST 2016


Hi All.

Just wondering if I am missing something here. using codec_move_up() to 
rearrange the offered codecs in the SDP. Here is what I have...

...
codec_move_up("PCMU");
...

However the offered codecs are never re-arranged.

Before...


m=audio 12002 RTP/AVP 18 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000

And After...

m=audio 12002 RTP/AVP 0 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000

If I use codec_delete("G729") it works fine.

-- 
Jim DeVito




More information about the Users mailing list