On Mon, Sep 03, 2018 at 10:58:22AM +0100, David Villasmil wrote:
Interesting approach! Though i don't think that
will work for me. I've been
looking into my requirements, and I'd need to do weight-based distribution
instead of load-balance, also what i need is to add destinations to the
dispatcher lists dynamically. I was thinking of adding them dynamically
when they register, but the module doesn't have a function to reload the
list via the config script, or a db_mode as on other modules. This one is
going to be tricky...
I asked just about the same question (but for registered endusers) some
time ago and finally settled for updating the q value for all locations
for that user to a random value (0-1) during each request to that user by
directly updating the database (shared among a cluster of kamailio
registrars).