[sr-dev] git:master: modules_k/xcap_server: Added new pseudo variable $xcapuri(name= >xuiddomain)

Peter Dunkley peter.dunkley at crocodile-rcs.com
Mon Aug 8 17:40:34 CEST 2011


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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110808/504e81fe/attachment.htm>


More information about the sr-dev mailing list