<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.0.1">
</HEAD>
<BODY>
Maybe I should back-out my change then?<BR>
<BR>
On Mon, 2011-08-08 at 14:52 +0300, Juha Heinanen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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
<A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>