Maybe I should back-out my change then?

On Mon, 2011-08-08 at 14:52 +0300, Juha Heinanen wrote:
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

-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd