Hi Yuval,

First, please subscribe to the list in order to be able to properly post messages here.

Secondly, on your issue - before the replace function do you perform any other changes over the 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 06:45 PM, Dinari, Yuval wrote:
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 <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    Have you used replace() or replace_body() ?

    Regards,

    Bogdan-Andrei Iancu

    OpenSIPS Founder and Developer
       http://www.opensips-solutions.com <http://www.opensips-solutions.com>
    OpenSIPS Summit 2018
       http://www.opensips.org/events/Summit-2018Amsterdam
    <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 list
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to