[OpenSIPS-Devel] [ opensips-Bugs-3493580 ] opensips load balancer bug

SourceForge.net noreply at sourceforge.net
Mon Feb 27 16:56:28 CET 2012


Bugs item #3493580, was opened at 2012-02-24 17:13
Message generated for change (Comment added) made by vladut-paiu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3493580&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
>Group: 1.6.x
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: luodaidong (luodaidong)
Assigned to: Vladut-Stefan Paiu (vladut-paiu)
Summary: opensips load balancer bug

Initial Comment:
I use opensips load balancer for two freeswitch, the balance is 1:1. when I shutdown the first freeswitch. 
Opensips can send probe messages,but no response. When I make call throw opensips , Opensips choice the first fail freeswitch every time, so the call can't connect. So how can I detect this fail about freeswitch 
and use the second freeswitch. My opensips is 1.6.4.2-tls 
thank you !   



----------------------------------------------------------------------

>Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2012-02-27 07:56

Message:
Hello,

You can arm a failure_route when processing the initial Invite, and in the
failure_route call lb_disable [1].
This will disable the GW and have OpenSIPS probe it with Options message
until it replies. In the mean time, that specific GW will be pulled out
from the load-balancing set.

[1]
http://www.opensips.org/html/docs/modules/1.6.x/load_balancer.html#id250272

Regards,
Vlad

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3493580&group_id=232389



More information about the Devel mailing list