<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Actually, dispatcher works for incoming requests that are going
to be sent out. You generate the requests locally using uac, so no
effect on such case when using dispatcher functions. In this case,
the equivalent of $du is $uac_req(duri), $ru is $uac_req(ruri).</p>
<p>Your solution to loop with ds_next_dst() looks like a good
option.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 03.12.17 03:31, George
Diamantopoulos wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPcKEYPiRs9sVcBUwMOi6G0sGTPj+rmQmQiDD2xyNR3N_yaxJw@mail.gmail.com">
<div dir="ltr">Never mind, uac seems to ignore $du variables and
only sends to uri set with $uac_req(ruri)... Did a loop over
ds_next_dst() while $du != $null and achieved the same effect...<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 2 December 2017 at 23:32, George
Diamantopoulos <span dir="ltr"><<a
href="mailto:georgediam@gmail.com" target="_blank"
moz-do-not-send="true">georgediam@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Also, what happens when two entries in the
same set have the same priority and algorithm "8" is used?
Does it round-robin among them? Or does it always select
the first one? Thanks!<br>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 2 December 2017 at 23:27,
George Diamantopoulos <span dir="ltr"><<a
href="mailto:georgediam@gmail.com"
target="_blank" moz-do-not-send="true">georgediam@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>Hello Federico,<br>
<br>
</div>
Thanks for the reply. I'm on 5.1.0-rc2.<br>
<br>
</div>
BR,<br>
</div>
George<br>
</div>
<div class="m_-5919877454328082905HOEnZb">
<div class="m_-5919877454328082905h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 2 December 2017
at 22:36, Federico Cabiddu <span
dir="ltr"><<a
href="mailto:federico.cabiddu@gmail.com"
target="_blank" moz-do-not-send="true">federico.cabiddu@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div dir="auto">Hi,
<div dir="auto">which Kamailio version
are you using?</div>
<div dir="auto">Dispatcher's algorithm
12 is available in master/5.1-dev. </div>
<div dir="auto">The default behaviour
of the module is to pick the first
destination in the set if the
selected algorithm is unknown: <a
href="http://www.kamailio.org/docs/modules/5.0.x/modules/dispatcher.html#dispatcher.f.ds_select_dst"
target="_blank"
moz-do-not-send="true">http://www.kamailio.o<wbr>rg/docs/modules/5.0.x/modules/<wbr>dispatcher.html#dispatcher.f.d<wbr>s_select_dst</a>.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Federico</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div
class="m_-5919877454328082905m_8917082183099901599h5">On
2 Dec 2017 21:28, "George
Diamantopoulos" <<a
href="mailto:georgediam@gmail.com"
target="_blank"
moz-do-not-send="true">georgediam@gmail.com</a>>
wrote:<br type="attribution">
</div>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div
class="m_-5919877454328082905m_8917082183099901599h5">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello all,<br>
<br>
</div>
I've been trying to
use dispatcher's
algorithm "12" to fork
REGISTER messages
constructed with uac
module to all
destinations within a
set.<br>
<br>
</div>
However, the request is
routed to only one
destination. Is anything
else needed in addition
to calling
ds_select_dst("0", "12")
in the configuration
script? Thanks.<br>
<br>
</div>
BR,<br>
</div>
George<br>
</div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing
List<br>
<a
href="mailto:sr-users@lists.kamailio.org"
target="_blank"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a
href="mailto:sr-users@lists.kamailio.org"
target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>