<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("INVITE")) {<br> # setflag(4); # do accounting<br> fix_nated_sdp("1");<br><br><br> }<br><br><br>if(!cr_route("default", "0", "$rU", "$rU", "call_id")){<br>
sl_send_reply("403", "Not allowed");<br> } else {<br> # In cas of failure, re-route the request<br> t_on_failure("1");<br> t_on_reply("1");<br>force_rtp_proxy();<br>
<br><br>t_relay();<br> }<br><br><br>onreply_route[1] {<br># if (t_check_status("2[0-9][0-9]") )<br> if((t_check_status("200|183|180") && search("Content_Type: application/sdp")) || search("Content-Type: application/sdp"))<br>
<br><br>{<br> force_rtp_proxy();<br> }<br>exit;<br>}<br><br>Please let me know what's wrong here and how i can fix this issue<br><br>Regards<br><br></div>