[OpenSIPS-Users] Load Balancer Issue

Bogdan-Andrei Iancu bogdan at opensips.org
Sun Oct 21 16:09:45 CEST 2012


Hi Nil,

I wild guess is you are not correctly do "loose_route" on the LB, so 
instead of following the Route (to OpenSIPS Proxy), it goes directly to 
end destination in RURI (Client 2).

Of course, I assume that all parties (LB + Proxy) do record_route() for 
the call, right ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 10/21/2012 10:09 AM, Nilanjan Banerjee wrote:
> Hello,
>
>   I am trying to build the following setup using OpenSIPS load 
> balancer and the proxy functionality:
>
> Client 1 (sipp) <----> OpenSIPS Load Balancer <----> OpenSIPS Proxy 
> <----> Client 2 (sipp)
>
> At the client ends I am using the following commands:
>
> Client 1: sipp -sn uac -rsa [Load Balancer Address] [Client 2 Address]
>
> Client 2: sipp -sn uas
>
> The Load Balancer is configured with a destination as the OpenSIPS 
> Proxy and the Proxy is configured to simply forward the SIP messages 
> based on IP address (using only forward(); in the routing block).
>
> Now everything (INVITE, OK and ACK messages) works fine except the BYE 
> messages that are getting forwarded by the Load Balancer directly to 
> Client 2 unlike the INVITE, OK and ACK messages that traverse the 
> Proxy. Client 2 however, sends the OK to the BYE to the OpenSIPS 
> Proxy. Since the BYE messages do not traverse the Proxy, the OK to the 
> BYE messages are getting retransmitted repeatedly by Client 2 and the 
> sessions are not getting terminated properly. How do I make the BYE 
> messages to go through the Proxy or the OK message sent directly to 
> the Load Balancer so that the retransmissions do not happen and the 
> sessions get terminated properly?
>
> [NB: When the Load Balancer is taken out of the loop and the Proxy 
> configuration is kept the same, all the SIP messages traverses the 
> Proxy and everything works fine i.e., the BYE and the OKs to the BYEs 
> are handled properly and sessions get terminated properly.]
>
> Would greatly appreciate any help in this matter. Thanks in advance.
>
> Nil.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121021/0b74c6e1/attachment.htm>


More information about the Users mailing list