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:##[email protected]"

So my question is: where i have to change $du? I tried to change it 
(using rewriteuri("sip:##[email protected]:5060")        and
rewritehostport("sip:##[email protected]: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.

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

Reply via email to