Try like this and see if it works?<div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">if (is_method(&quot;INVITE&quot;) || status==&quot;200&quot; || status==&quot;183&quot;) {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><span style="font: 12.0px Helvetica"> <span class="Apple-tab-span" style="white-space:pre">        </span></span>replace_body(&quot;723/8000&quot;, &quot;G723/8000-test&quot;);</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">}</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><br><div class="gmail_quote">On Mon, Nov 16, 2009 at 7:48 PM, Daryl G. Jurbala <span dir="ltr">&lt;<a href="mailto:daryl@introspect.net">daryl@introspect.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">So I have a related issue.....<br>
<br>
UA ====  OpenSIPS ==== Dialogic IMG<br>
<br>
The Dialogic likes to send back a media attribute of &quot;bitrate:5.3&quot; in the SDP when negotiating G723 .  This is fine for most UAs, but it breaks Linksys PAP2&#39;s.  I&#39;ve tried all sorts of things so far, and gotten down to a very simple:<br>

<br>
replace_body(&quot;a=bitrate:5.3&quot;, &quot;a=bitrate:999&quot;);<br>
<br>
in my main routing block.  It&#39;s not having any affect.<br>
<br>
To test, I put a &quot;replace_body(&quot;723/8000&quot;, &quot;G723/8000-test&quot;);&quot; in the same place.  It mangles the SDP between the OpenSIPS box and the Dialogic IMG on the INVITE, but the 183 and 200 coming back from the IMG through the OpenSIPS to the UA remains untouched.<br>

<br>
I&#39;m sure I&#39;m missing something basic here, so a pointer in the right direction would be very helpful.<br>
<br>
Thanks,<br>
<font color="#888888">Daryl<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>