[SR-Users] load-balance to registered trunks?

Daniel Tryba d.tryba at pocos.nl
Mon Sep 3 14:26:06 CEST 2018


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).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180903/2a4c317a/attachment.sig>


More information about the sr-users mailing list