<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">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">65.111.170.127:5065</a>" );<br> topology_hiding();<br> exit;<br> };<br><br></div>