[SR-Users] Migrate from RtpProxy to Rtpengine

Daniel Tryba d.tryba at pocos.nl
Tue Aug 14 10:38:41 CEST 2018


On Tue, Aug 14, 2018 at 08:23:28AM +0000, Nicolas Breuer wrote:
> 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.

From documentation:
"This function can be used from REQUEST_ROUTE or core REPLY_ROUTE."

It can't be used in any other "named" reply.

See:
https://www.kamailio.org/wiki/cookbooks/5.1.x/core#reply_route
reply_route{} 
is executed before any route armed with t_on_reply(), sou you can
possibly rewrite your reply logic a little.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180814/d4d0fd0b/attachment.sig>


More information about the sr-users mailing list