<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Nil,<br>
<br>
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).<br>
<br>
Of course, I assume that all parties (LB + Proxy) do
record_route() for the call, right ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 10/21/2012 10:09 AM, Nilanjan Banerjee wrote:
<blockquote
cite="mid:CAFbWgu0h9_C_ARj4t_UUiPvJc7dK+M-cPTv3jqAU7rEHxpG8Dw@mail.gmail.com"
type="cite">Hello,<br>
<br>
I am trying to build the following setup using OpenSIPS load
balancer and the proxy functionality: <br>
<br>
Client 1 (sipp) <----> OpenSIPS Load Balancer <---->
OpenSIPS Proxy <----> Client 2 (sipp)<br>
<br>
At the client ends I am using the following commands:<br>
<br>
Client 1: sipp -sn uac -rsa [Load Balancer Address] [Client 2
Address]<br>
<br>
Client 2: sipp -sn uas <br>
<br>
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). <br>
<br>
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?<br>
<br>
[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.]<br>
<br>
Would greatly appreciate any help in this matter. Thanks in
advance. <br>
<br>
Nil.
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>