<div dir="ltr">Hi all,<br><br>I have a question regarding rtp proxy...I need to force rtp proxy in order that all rtp packets pass through...The issue now is the first INVITE does contains the PSTN GW IP instead of RTP Proxy IP...My config is as below:<br>
<br>if (is_method(&quot;INVITE&quot;)) {<br> #               setflag(4); # do accounting<br>  fix_nated_sdp(&quot;1&quot;);<br><br><br>      }<br><br><br>if(!cr_route(&quot;default&quot;, &quot;0&quot;, &quot;$rU&quot;, &quot;$rU&quot;, &quot;call_id&quot;)){<br>
       sl_send_reply(&quot;403&quot;, &quot;Not allowed&quot;);<br>     } else {<br>         # In cas of failure, re-route the request<br>          t_on_failure(&quot;1&quot;);<br> t_on_reply(&quot;1&quot;);<br>force_rtp_proxy();<br>
<br><br>t_relay();<br>  }<br><br><br>onreply_route[1] {<br>#  if (t_check_status(&quot;2[0-9][0-9]&quot;) )<br> if((t_check_status(&quot;200|183|180&quot;) &amp;&amp; search(&quot;Content_Type: application/sdp&quot;)) || search(&quot;Content-Type: application/sdp&quot;))<br>
<br><br>{<br>        force_rtp_proxy();<br>  }<br>exit;<br>}<br><br>Please let me know what&#39;s wrong here and how i can fix this issue<br><br>Regards<br><br></div>