Re: [OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Schneur Rosenberg
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

Re: [OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Giovanni Maruzzelli
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

[OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Schneur Rosenberg
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