loose_route() has this:
if (uri_is_myself>0) { LM_INFO("Topmost route URI: '%.*s' is me\n", uri.len, ZSW(uri.s)); /* set the hooks for the params */ routed_msg_id = _m->id;
if (!rt->next) { ... /* When using outbound skip past all this stuff and just set the destination */ if (use_ob) goto got_uri;
so, if ob is in use (= flow token was found in route uri), $du gets set to route uri.
why is it done also when $ru contains gruu that should instead be used to find out $du via lookup?
-- juha