#481 opensips load balancer bug

1.6.x
closed-invalid
modules (454)
5
2012-02-27
2012-02-25
luodaidong
No

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 !

Discussion

  • luodaidong

    luodaidong - 2012-02-27
    • labels: --> 1134777
     
  • Vladut-Stefan Paiu

    • labels: 1134777 --> modules
    • assigned_to: nobody --> vladut-paiu
     
  • Vladut-Stefan Paiu

    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

     
  • Vladut-Stefan Paiu

    • milestone: --> 1.6.x
    • status: open --> closed-invalid
     

Log in to post a comment.