[OpenSIPS-Users] List of load_balancer group

Giovanni Maruzzelli gmaruzz at gmail.com
Mon May 29 10:00:23 EDT 2017


Hello Schneur,

you may also use http://www.opensips.org/html/docs/modules/2.2.x/avpops.html
for querying the db, then cache the result with sql cacher, or do the query
and put the result in an avp if not already there.

-giovanni


On 29 May 2017 at 14:37, Schneur Rosenberg <rosenberg11219 at gmail.com> wrote:

> Is there anyway to get in the script a list of destinations in the
> load_balancer group? I can get it directly from the DB but I want to
> avoid querying the DB, I want to use it to parallel fork certain calls
> to all servers in the load balancer group.
>
> I couldn't find anything in the load balancer documentations, the
> closest thing I could find is lb_list through fifo, but I want it in
> the script, I guess worst case I can query it and then memcache it.
>
> S. Rosenberg
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 

Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170529/a2c47c4f/attachment.html>


More information about the Users mailing list