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

Juha Heinanen jh at tutpro.com
Mon Aug 8 13:05:13 CEST 2011


Peter Dunkley writes:

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

peter,

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.

-- juha



More information about the sr-dev mailing list