<div>im trying to replace the ip address in c= and o= with force_rtp_proxy.</div><div><br></div><div>i tried different flag co,rc,ro,fo,fc,rfco but still doesnt work.</div><div><br></div><div>hope some one can help me with this..</div>
<div><br></div><div>below is my noob simple script.</div><div><br></div><div>hope someone can help.. </div><div><br></div><div>thanks you :)</div><div><br></div><div>route[RTPPROXY] {</div><div>#!ifdef WITH_NAT</div><div>
if (is_method("BYE")) {</div><div> unforce_rtp_proxy();</div><div> } else if (is_method("INVITE")){</div><div> xlog("L_INFO","force_rtp_proxy!!!! $rm from $fu (IP:$si:$sp)\n");</div>
<div> force_rtp_proxy("rfco","publicip");</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div> if (!has_totag()) add_rr_param(";nat=yes");</div>
<div>#!endif</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>return;</div><div>}</div><div><br></div><br>-- <br>Regards,<br><br>MingHon<br>