Hi,<div><br></div><div>I want to know how can I bypass UAC IP through OpenSIPS. Like my UAC IP is xx.xx.xx.xx, my OpenSIPS IP is yy.yy.yy.yy and Asterisk IP is zz.zz.zz.zz, where I'm using OpenSIPs as redirect server, when I make a call I want UAC IP displayed on Asterisk machine not OpenSIPs IP.</div>
<div><br></div><div>Kindly advise me which fuction do I require for it. The configuration I've done is listed down below;</div><div><br></div><div><div>route{</div><div><br></div><div> if (!mf_process_maxfwd_header("10")) {</div>
<div> sl_send_reply("483","Too Many Hops");</div><div> exit;</div><div> }</div><div><br></div><div> if (is_method("INVITE")) {</div><div> log("########INVITE#######################");</div>
<div> ds_select_domain("1","4");</div><div> sl_send_reply("300","Redirect");</div><div> route(1);</div><div> log("#####END");</div>
<div> exit;</div><div> }</div><div><br></div><div> if (is_method("REGISTER")) {</div><div> log("########REGISTER#######################");</div><div> ds_select_dst("1","4");</div>
<div> #t_replicate("77.66.2.136");</div><div> #sl_send_reply("200", "ok");</div><div> forward();</div><div> log("#####END");</div>
<div> #exit;</div><div> return;</div><div> }</div><div><br></div><div>}</div><div><br></div><br>-- <br>Regards,<br><br>Ahmed Munir<br><br><br>
</div>