Hello,
ok, good that it was sorted out and nothing broken inside dispatcher module...
Cheers,
Daniel
Hello Sebastian, Daniel,
Please excuse me for the late response, I had few days off.
You are right, Sebastian. After adding several log messages, I figured out the messages were dispatched in other part of the routing code.The problem is fixed now and the dispatcher failover mechanism is working as expected.
Thank you very much,Cristian
On Wed, May 31, 2017 at 5:20 PM, Sebastian Damm <damm@sipgate.de> wrote:
Hi,
On Thu, May 25, 2017 at 2:18 PM, Cristi Constantin
<cristi.constantin@gmail.com> wrote:
> if (ds_is_from_list(7, 3, "$ru")) {
> remove_hf("Route");
> if(!ds_select_dst("7", "8")) {
> send_reply("404", "No destination");
> exit;
> }
> }
I might be off, but what exactly is this line good for?
> if (ds_is_from_list(7, 3, "$ru")) {
As I understand the documentation, you are checking whether the
request URI of your packet is in the dispatcher set for group 7. But
unless you modify $ru somewhere above this snippet to match one of the
entries of your dispatcher set 7, this if statement should never
evaluate to "true", so the ds_select_dst("7", "8") is never evaluated.
Maybe your call gets dispatched by some other part of your main route?
Regards,
Sebastian
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com Kamailio World Conference - www.kamailioworld.com