[OpenSIPS-Users] top hiding and BYE problem

saneku ukhov at ycc.ru
Tue Jul 19 12:34:57 CEST 2011


Thanks! you have saved my head from beeing broken.
But now i trying to add load balance functionality between two ASTERISK's
servers. I am writing next:

------------
              #skip Invite messages generated by the server
	if(is_method("INVITE") && !(src_ip=="10.130.0.140"))	
             {	
		load_balance("1","pstn");  		
		b2b_init_request("top hiding");	
		exit;
	};
--------------
but without success. (

ASTERISK gives me error "404 Not Found". Because of that:
At trace messages i see that $du="sip:10.130.0.136" but it should be
"sip:##999 at 10.130.0.136"

So my question is: where i have to change $du? I tried to change it 
(using rewriteuri("sip:##0950 at 10.130.0.136:5060")	 and
rewritehostport("sip:##0950 at 10.130.0.136:5060"))

 in local_route and right after load_balance function but i didnt get
correct fucntionality.
Any help is welcome.  thanks

--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/top-hiding-and-BYE-problem-tp6594249p6598273.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list