[OpenSIPS-Users] Load Balancer Hooks

Ben Newlin Ben.Newlin at genesys.com
Wed Jul 8 14:03:59 EST 2020


I don’t know if there is anything in 1.9, which is quite old, but in 2.0+ there is an event that you can subscribe to.

https://opensips.org/docs/modules/2.4.x/load_balancer.html#event_E_LOAD_BALANCER_STATUS

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of Chandan PR <chandan.pr at webshar.org>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Wednesday, July 8, 2020 at 10:00 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Cc: Naveen Kumar <naveen.kumar at webshar.org>
Subject: [OpenSIPS-Users] Load Balancer Hooks

Hi,

Is it possible to add hooks to notify an endpoint

  *   when a particular destination is disabled (via lb_disable())
  *   when a particular destination is enabled after a successful probing
This is needed for us to slow down the requests to OpenSips when few destinations are down. Without this feedback loop, we won't be knowing if we need to limit the number of calls we need to send.

We are currently on Opensips 1.9.
--

Regards,
Chandan Ravishankar<https://about.me/chandanpr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200708/89088ff6/attachment.html>


More information about the Users mailing list