<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>ok, good that it was sorted out and nothing broken inside
dispatcher module...</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 07.06.17 07:50, Cristi Constantin
wrote:<br>
</div>
<blockquote
cite="mid:CAN_4h-eFaNngXLgQytxC+J4z9v+az5R8Eb2zmpp1PF1M6cE=UA@mail.gmail.com"
type="cite">
<div dir="ltr">Hello Sebastian, Daniel,
<div><br>
</div>
<div>Please excuse me for the late response, I had few days off.</div>
<div><br>
</div>
<div>You are right, Sebastian. After adding several log
messages, I figured out the messages were dispatched in other
part of the routing code. </div>
<div>The problem is fixed now and the dispatcher failover
mechanism is working as expected. </div>
<div><br>
</div>
<div>Thank you very much,</div>
<div>Cristian</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, May 31, 2017 at 5:20 PM,
Sebastian Damm <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:damm@sipgate.de" target="_blank">damm@sipgate.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On Thu, May 25, 2017 at 2:18 PM, Cristi Constantin<br>
</span><span class=""><<a moz-do-not-send="true"
href="mailto:cristi.constantin@gmail.com">cristi.constantin@gmail.com</a>>
wrote:<br>
> if (ds_is_from_list(7, 3, "$ru")) {<br>
> remove_hf("Route");<br>
> if(!ds_select_dst("7", "8")) {<br>
> send_reply("404", "No destination");<br>
> exit;<br>
> }<br>
> }<br>
<br>
</span>I might be off, but what exactly is this line good
for?<br>
<span class=""><br>
> if (ds_is_from_list(7, 3, "$ru")) {<br>
<br>
</span>As I understand the documentation, you are checking
whether the<br>
request URI of your packet is in the dispatcher set for
group 7. But<br>
unless you modify $ru somewhere above this snippet to match
one of the<br>
entries of your dispatcher set 7, this if statement should
never<br>
evaluate to "true", so the ds_select_dst("7", "8") is never
evaluated.<br>
<br>
Maybe your call gets dispatched by some other part of your
main route?<br>
<br>
Regards,<br>
Sebastian<br>
<div class="HOEnZb">
<div class="h5"><br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a moz-do-not-send="true"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</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 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>