[OpenSIPS-Users] textops module replace functions don't work

Dinari, Yuval yuval.dinari at vonage.com
Mon Feb 26 11:45:44 EST 2018


Hi,
I tried all of them, not just those two but also replace_all(),
replace_body_all(), replace_body_atonce(), subst(), and subst_body().
Thanks

On Mon, Feb 26, 2018 at 5:54 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi,
>
> Have you used replace() or replace_body() ?
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   http://www.opensips-solutions.com
> OpenSIPS Summit 2018
>   http://www.opensips.org/events/Summit-2018Amsterdam
>
> On 02/26/2018 12:31 PM, Dinari, Yuval via Users wrote:
>
> Hi,
> I tried using textops module functions to replace a part of the message
> body, but the body remains unchanged. A search() with the regex to be
> replaced succeeds.
> I tried all replacement functions (replace*, subst, subst_body).
> I see that the body is unchanged by printing $rb, and also ngreping the
> SDP that opensips sends out to rtpengine via rtpengine_offer().
> opensips version - 2.2.5
> Thanks
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180226/468b23fc/attachment-0001.html>


More information about the Users mailing list