Hello,

Please post the relevant part of your script when calling topology_hiding() and when routing sequential requests, and also please pastebin a full SIP trace showing the traffic for such a dialog.

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 26.08.2014 15:38, Satish Patel wrote:
I have tried your logic and it works but it is not handling BYE message, after caller hang up phone, caller not receiving BYE and caller phone is still in connected state not getting hung up.

Sent from my iPhone

On Aug 26, 2014, at 5:09 AM, Vlad Paiu <[email protected] <mailto:[email protected]>> wrote:

Hello,

You must call topology_hiding() before t_relay() - please try that.
Also, make sure to change your sequential request handling from

     if (loose_route())

to

     if (loose_route() || match_dialog())


Best Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com On 26.08.2014 06:48, Satish Patel 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


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to