[SR-Users] LCR routing and From Uri

Juha Heinanen jh at tutpro.com
Thu Apr 12 16:07:23 CEST 2012


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



More information about the sr-users mailing list