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