Alexey Mechanoshin writes:
If uri_user is given, it is used, instead of Request-URI user part, to look for matching gateways.
yes, but since you need also caller's uri, you must call load_gw() like this:
if (!load_gws(1, $rU, $fu)) {
My test change simple load_gws(1) to load_gws(1,$fU) and this bad routing:
see above, second param is uri_user, not caller_uri.
-- juha