[Spce-user] rtpengine & sdpops

Sergey Zyrianov sergey at telenordigital.com
Mon Apr 11 17:10:18 EDT 2016


Hi,

Thanks for the reply!

Is there any option to apply changes to SDP only?
msg_apply_changes() seems to be too invasive atm.

Thanks,
Sergey.

On Mon, Apr 11, 2016 at 9:39 PM, Andreas Granig <agranig at sipwise.com> wrote:

> 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
> >
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20160411/1175af2b/attachment-0001.html>


More information about the Spce-user mailing list