<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi,<br>
<br>
Have you used replace() or replace_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 12:31 PM, Dinari, Yuval
via Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+=GTAFWu3PkUpX_0=cq596uDeRN99fmJLceB_2Syv6W05M27A@mail.gmail.com">
<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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>