[OpenSIPS-Users] List of load_balancer group
Schneur Rosenberg
rosenberg11219 at gmail.com
Mon May 29 10:36:20 EDT 2017
Hi Giovanni
Thanks, by using memcache I meant to do a cache_fetch and if its not
there then do avp_db_query and then use cache_store to store it for
next time, I'm going to look into the sql cacher now, it seems to be a
better solution.
Schneur
On Mon, May 29, 2017 at 5:00 PM, Giovanni Maruzzelli <gmaruzz at gmail.com> wrote:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list