Peter Dunkley writes:
> > thanks for the new pv. how about adding also name=>xuiduser? i do sip
> > request authorization like this:
> >
> > radius_proxy_authorize("$var(uri_domain)", "$var(uri_user)")
> >
> > and would thus need access to userpart of xuid.
looks like that is not strictly necessary, since userpart can be
accessed via {uri.user} transformation. the same holds for domain:
$xcapuri(u=>data) = $hu;
$var(uri) = $xcapuri(u=>xuid);
$var(uri_user) = $(var(uri){uri.user});
$var(uri_domain) = $(var(uri){uri.host});
-- juha
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev