<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt>Hi Tito,</tt></p>
<p><tt>IIRC, replace_body() can also match the "\r\n" part of the
header. So just expand your regex to either:</tt></p>
<p><font color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
UI Emoji, Segoe UI Symbol"><span style="font-size:14px">replace_body("a=rtcp
9 IN IP4 [.0-9]*\r","");</span></font></p>
<p><font color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
UI Emoji, Segoe UI Symbol"><span style="font-size:14px">or</span></font><br>
<br>
<font color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
UI Emoji, Segoe UI Symbol"><span style="font-size:14px"><font
color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px">replace_body("a=rtcp 9 IN IP4
[.0-9]*\r\n","");</span></font></span></font></p>
<p><font color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
UI Emoji, Segoe UI Symbol"><span style="font-size:14px"><font
color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px">Let us know which one worked, so I
can add a new documentation example with this :)</span></font></span></font></p>
<p><font color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
UI Emoji, Segoe UI Symbol"><span style="font-size:14px"><font
color="#24292e" face="-apple-system, BlinkMacSystemFont,
Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px">Best regards,<br>
</span></font></span></font></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 28.03.2018 06:04, Tito Cumpen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANZPVB7a3Eyp57rhmvGGRX4FrPfNiy1PF=n-eQK=Z9JLQUocOQ@mail.gmail.com">
<div dir="ltr">Group,
<div><br>
</div>
<div>I'd like to to remove
<span
style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">a=rtcp:9
IN IP4 0.0.0.0 from a reply that I suspect is causing
linphone to have issues with chrome when attempting to send
rtcp. I believe this attribute may be confusing linphone to
send rtcp to this port although the far side claims it uses
rtcp-mux. Is there a way to remove the entire line ? I've
tried using </span><font color="#24292e"
face="-apple-system, BlinkMacSystemFont, Segoe UI,
Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI
Emoji, Segoe UI Symbol"><span style="font-size:14px">replace_body("a=rtcp
9 IN IP4 [.0-9]*",""); but that just leaves an empty line
in the SDP. I am using opensips 2.3</span></font></div>
<div><font color="#24292e" face="-apple-system,
BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px"><br>
</span></font></div>
<div><font color="#24292e" face="-apple-system,
BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px"><br>
</span></font></div>
<div><font color="#24292e" face="-apple-system,
BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px">Thanks,</span></font></div>
<div><font color="#24292e" face="-apple-system,
BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px"><br>
</span></font></div>
<div><font color="#24292e" face="-apple-system,
BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span
style="font-size:14px">Tito</span></font></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>