[Serusers] XCAP authorization - how to set the username in the xcap root without domain part

Vaclav Kubart vaclav.kubart at iptel.org
Mon Jun 25 10:08:11 CEST 2007


Sorry for inaccurate formulation - PA uses not username but UID in XCAP
uri. So you probably have the user's UID with domain, right?

According XCAP RFC 4825 it should be with domain, I know. Thus if you
have your uids with domain it is ok according this specification. ;-)

On other hand it can be useful to have multiple domains as aliases
(pointing to the same DID) and having the original domain name in the
XCAP URI will bring only problems...

	Vaclav

On Mon, Jun 25, 2007 at 09:50:24AM +0200, tzieleniewski wrote:
> Hi,
> 
> In my apache access log I see the following:
> localhost - - [24/Jun/2007:09:24:46 +0200] "GET /xcap-root/voip.rd.touk.pl/pres-rules/users/sen at voip.rd.touk.pl/presence-rules.xml HTTP/1.1" 200 671 "-" "-".
> So somehow PA module XCAP queries use username with a domain part.
> I though that maybe this can be somehow configured:)
> 
> BTW according to the current RFC 4826 for RLS section 4.4.7 specifies that the URI for the RLS service document should look like this:
> http://xcap.example.com/rls-services/users/sip:joe@example.com/index
> 
> Thanks
> Cheers Tomasz
> 
> > Hi Tomasz,
> > if I'm not mistaken, PA queries XCAP allways without domain part (it was
> > implemented according an older version of XCAP draft which used usernames
> > without domains).
> > 	Vaclav
> > 
> > On Thu, Jun 21, 2007 at 06:14:43PM +0200, tzieleniewski wrote:
> > > Hi,
> > > 
> > > How can configure pa module in such a way that it will look for the particular user presence document in the "...pres-rules/users/user/.." instead of 
> > > "../pres-rules/users/user at domain/..".
> > > 
> > > Cheers tomasz
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list