<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]--------&gt;[Opensips]-----------[Asterisk/SIP gateway]<br>
<br></div>I want to hind my UA IP address so Asterisk doesn&#39;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(&quot;INVITE&quot;)) {<br>
...<br>...<br>if  ( uri=~&quot;^sip:[0-9]*@.*&quot;) {<br>        uac_replace_from(&quot;<a href="mailto:sip%3A4545@65.111.170.127">sip:4545@65.111.170.127</a>&quot;);<br>        t_on_failure(&quot;3&quot;);<br>        resetflag(7);<br>
        t_relay( &quot;udp:<a href="http://65.111.170.127:5065">65.111.170.127:5065</a>&quot; );<br>         topology_hiding();<br>        exit;<br>        };<br><br></div>