[SR-Users] Migrate from RtpProxy to Rtpengine

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Tue Aug 14 10:23:28 CEST 2018


substr
msg_apply_changes()
rtpengine_manage()


This will not work because msg_apply_changes is working only in request route.
I do substr in reply routes also.

That was working without apply_changes with rtpproxy. Is it expected ?


-----Message d'origine-----
De : sr-users <sr-users-bounces at lists.kamailio.org> De la part de Daniel Tryba
Envoyé : mardi 14 août 2018 10:19
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] Migrate from RtpProxy to Rtpengine

On Tue, Aug 14, 2018 at 06:41:32AM +0000, Nicolas Breuer wrote:
> No. Using RTPengine on Kamailio. No asterisk behind. I think subst_body is not supported.
> 
> Someone can confirm ?

Sounds like you are making changes to the body before the rtpengine mangling is commit. See https://kamailio.org/docs/modules/stable/modules/textopsx.html#textopsx.f.msg_apply_changes

Try:
substr
msg_apply_changes()
rtpengine_manage()

of

rtpengine_manage()
msg_apply_changes()
substr



More information about the sr-users mailing list