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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to