Happened with 1.11.3, but the relevant code seems to be the same even in the 
master branch.

According to the docs of loose_route:

2. If the request in inside a dialog ( has a to-tag ), loose-routing was used 
($ru is end-point) and Route contains only the local proxy, the function 
returns FALSE.

But it returns true in this case. The suspicious code is in 
loose.c/after_loose(), which contains:

        LM_DBG("No next URI found!\n");
        status = (preloaded ? NOT_RR_DRIVEN : RR_DRIVEN);

Within a dialog "preloaded" is false, so this sets the return status to 
RR_DRIVEN, which is true. The expected return value is false, since the 
forwarding in this case is not based on Route-s, but on the RURI.


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/550
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to