Thanks for the info, Ben. Let me have a look. On Wed, Jul 8, 2020 at 7:34 PM Ben Newlin <[email protected]> wrote:
> 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 <[email protected]> on behalf of Chandan PR < > [email protected]> > *Reply-To: *OpenSIPS users mailling list <[email protected]> > *Date: *Wednesday, July 8, 2020 at 10:00 AM > *To: *OpenSIPS users mailling list <[email protected]> > *Cc: *Naveen Kumar <[email protected]> > *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> > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Regards, Chandan Ravishankar <https://about.me/chandanpr>
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
