Hello,
When doing topology hiding, there's no need to call record_route() at
all, so please remove the call to record_route() from your script, or
move topology_hiding() after the record_route() function call.
Best Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 27.08.2014 20:25, Satish Patel wrote:
Hi Vlad,
I have created pastebin for Asterisk, Opensips and opensips.cf
<http://opensips.cf> file, I am going to send you in your private
email address because of security reason.
Let me know if you see any issue in my configuration, or any kind of
suggestion.
Appreciate your help.
On Mon, Aug 25, 2014 at 11:48 PM, Satish Patel <[email protected]
<mailto:[email protected]>> wrote:
I have put topology_hiding() function at following place in script
but its not hiding VIA header following is my senerio
[UA]-------->[Opensips]-----------[Asterisk/SIP gateway]
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
if (is_method("INVITE")) {
...
...
if ( uri=~"^sip:[0-9]*@.*") {
uac_replace_from("sip:[email protected]
<mailto:sip%[email protected]>");
t_on_failure("3");
resetflag(7);
t_relay( "udp:65.111.170.127:5065
<http://65.111.170.127:5065>" );
topology_hiding();
exit;
};
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users