<!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>
That sounds like it could be useful.<BR>
<BR>
At the moment I use www_authorize() and www_challenge() for SIP and XCAP authorisation, so I only need the domain for the realm and don't need access to the user myself.&nbsp; If I get time at the weekend I'll look at adding an xuiduser pseudo-variable.<BR>
<BR>
Peter<BR>
<BR>
<BR>
On Mon, 2011-08-08 at 14:05 +0300, Juha Heinanen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Peter Dunkley writes:

&gt; - $xcapuri(name=&gt;xuiddomain) contains the domain part from
&gt;   $xcapuri(name=&gt;xuid) 
&gt;   The xuiddomain can be used with www_authorize() and www_challenge() if you
&gt;   want the realm to be based on the user's domain instead of something
&gt;   hard-coded (like &quot;xcap&quot;).

peter,

thanks for the new pv.  how about adding also name=&gt;xuiduser?  i do sip
request authorization like this:

radius_proxy_authorize(&quot;$var(uri_domain)&quot;, &quot;$var(uri_user)&quot;)

and would thus need access to userpart of xuid.

-- 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>