[Spce-user] rtpengine & sdpops
Andreas Granig
agranig at sipwise.com
Mon Apr 11 15:39:46 EDT 2016
Hi Sergey,
Since rtpengine is replacing the full sdp body, you need to do a
msg_apply_changes() after rtpproxy_offer() and before
sdp_remove_codecs_by_name().
Andreas
On 04/11/2016 09:31 PM, Sergey Zyrianov wrote:
> Hi,
>
> In kamailio script I tried to remove some codecs before/after rewriting
> the SDP with rtpeninge_offer().
> My codecs list stay the same:
>
> ....
> if (rtpproxy_offer("ie-spc"))
> t_on_reply("1");
> sdp_remove_codecs_by_name("G729,G723");
>
> G729 and G723 codecs are still mentioned by SDP regardless if i move
> sdp_remove_conecs_by_name before/after the rtpproxy_offer.
> It seems like I can not have both modules working on the same SDP?
>
> Thanks,
> Sergey.
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
More information about the Spce-user
mailing list