Hey Daniel,
Thanks for replying. Can I test this from master?
David
On Thu, 15 Nov 2018 at 15:12, Daniel-Constantin Mierla <miconda(a)gmail.com>
wrote:
Hello,
On 14.11.18 23:16, David Villasmil wrote:
Hello,
Is it possible to set an algorithm like the following?
fs1 - Priority 10 - maxload 20 calls
fs2 - Priority 10 - maxload 20 calls
fs3 - Priority 9 - maxload 20 calls
fs4 - Priority 8 - maxload 20 calls
fs5 - Priority 7 - maxload 20 calls
So that, whenever any new call comes in, fs1 and fs2 would be used,
meaning the fs with the highest priority would be use UNLESS there's
20 calls on that server, in which case, the next server with the
highest priority would be used.
this should be easier possible with the upcoming 5.2.0 (to be released
in about 2 weeks or so), see:
-
https://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatc…
For older versions you may need to do more complex logic in the
configuration file to call dispatcher for different groups at different
stages of failure re-routing.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference --
www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin --
www.asipto.com