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