<div dir="ltr"><div><div><div>Hi Vlad,<br><br></div>I have created pastebin for Asterisk, Opensips and <a href="http://opensips.cf">opensips.cf</a> file, I am going to send you in your private email address because of security reason. <br>
<br></div>Let me know if you see any issue in my configuration, or any kind of suggestion. <br><br></div>Appreciate your help. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 11:48 PM, Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I have put topology_hiding() function at following place in script but its not hiding VIA header following is my senerio<br>
<br></div>[UA]-------->[Opensips]-----------[Asterisk/SIP gateway]<br>
<br></div>I want to hind my UA IP address so Asterisk doesn't see them, currently my asterisk can see what IP address UA coming from, where should i put them generally <br><br><br>if (is_method("INVITE")) {<br>
...<br>...<br>if ( uri=~"^sip:[0-9]*@.*") {<br> uac_replace_from("<a href="mailto:sip%3A4545@65.111.170.127" target="_blank">sip:4545@65.111.170.127</a>");<br> t_on_failure("3");<br>
resetflag(7);<br>
t_relay( "udp:<a href="http://65.111.170.127:5065" target="_blank">65.111.170.127:5065</a>" );<br> topology_hiding();<br> exit;<br> };<br><br></div>
</blockquote></div><br></div>