[OpenSIPS-Users] Public IP dispatcher and private ip presence servers

surya chauhan.suryaveer at gmail.com
Thu Oct 20 23:02:24 CEST 2016


Hi Bogdan,

Thanks for spending time on this.

I do not have complete understanding of this but is this what I need to do
in dispatcher config:

 if (has_totag()) { 
    if (loose_route()) { 
		forward(); 
#       t_relay(); 
		exit;
} 
  if(method=="SUBSCRIBE") 
        { 
             record_route(); 
        }
        if ( !ds_select_dst("1", "4") ) { 
                send_reply("500","Unable to route"); 
                exit; 
        } 
		forward(); 
#       t_relay();

I have also posted my earlier config file in the earlier reply where I
didn't had the to_tag check.


Thanks,
Surya





--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Public-IP-dispatcher-and-private-ip-presence-servers-tp7604684p7604716.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list