<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 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 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 href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a 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>