<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Yuval,<br>
<br>
First, please subscribe to the list in order to be able to
properly post messages here.<br>
<br>
Secondly, on your issue - before the replace function do you perform
any other changes over the body ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 02/26/2018 06:45 PM, Dinari, Yuval
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+=GTAEb8BHMf+Y23i05N_ic3axb9vxh6=RZkAQCPsdrmQNvHg@mail.gmail.com">
<div dir="ltr">Hi,
<div>I tried all of them, not just those two but also
replace_all(), replace_body_all(), replace_body_atonce(),
subst(), and subst_body().</div>
<div>Thanks</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 26, 2018 at 5:54 PM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
href="mailto:bogdan@opensips.org" target="_blank"
moz-do-not-send="true">bogdan@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi,<br>
<br>
Have you used replace() or replace_body() ?<br>
<br>
Regards,<br>
</tt>
<pre class="m_234247454815268131moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_234247454815268131moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit 2018
<a class="m_234247454815268131moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank" moz-do-not-send="true">http://www.opensips.org/<wbr>events/Summit-2018Amsterdam</a>
</pre>
<div>
<div class="h5">
<div class="m_234247454815268131moz-cite-prefix">On
02/26/2018 12:31 PM, Dinari, Yuval via Users wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Hi,
<div>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.</div>
<div>I tried all replacement functions (replace*,
subst, subst_body).</div>
<div>I see that the body is unchanged by printing
$rb, and also ngreping the SDP that opensips
sends out to rtpengine via rtpengine_offer().</div>
<div>opensips version - 2.2.5</div>
<div>Thanks</div>
</div>
<br>
<fieldset
class="m_234247454815268131mimeAttachmentHeader"></fieldset>
<br>
</div>
</div>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_234247454815268131moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_234247454815268131moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>