[SIP Beyond VoIP] question about user+event request uri userparts

Juha Heinanen jh at tutpro.com
Wed May 1 18:16:58 CEST 2013


Dan Pascu writes:

> > SUBSCRIBE sip:jh+presence at test.tutpro.com
> > 
> > since that user does not exist, my presence server returns 404 no found.
> > where does it get userpart jh+presence?  is this + syntax specified in
> > some rfc?
> 
> Actually the URI does exist, as it is the RLS URI defined by sipsimple
> for your account and stored in the XCAP documents. Maybe your SIP
> server is not configured to use RLS?

dan,

thanks for your reply.  i added some debugging in my presence server and
got:

May  1 19:08:43 siika /usr/sbin/pres-serv[27355]: INFO: rls [subscribe.c:240]: rls_services document:#012<?xml version='1.0' encoding='UTF-8'?>#012<rls-services xmlns="urn:ietf:params:xml:ns:rls-services"><service uri="sip%3Ajh%2Bpresence%40test.tutpro.com"><resource-list>http%3A//192.98.102.10%3A8080/xcap-root/resource-lists/users/sip%3Ajh%40test.tutpro.com/index/%7E%7E/resource-lists/list%5B%40name%3D%22sipsimple_presence_rls%22%5D</resource-list><packages><package>presence</package></packages></service><service uri="sip%3Ajh%2Bdialog%40test.tutpro.com"><resource-list>http%3A//192.98.102.10%3A8080/xcap-root/resource-lists/users/sip%3Ajh%40test.tutpro.com/index/%7E%7E/resource-lists/list%5B%40name%3D%22sipsimple_dialog_rls%22%5D</resource-list><packages><package>dialog</package></packages></service></rls-services>
May  1 19:08:43 siika /usr/sbin/pres-serv[27355]: INFO: rls [subscribe.c:253]: service uri sip:jh+presence at test.tutpro.com not found in rl document for user sip:jh at test.tutpro.com

may be the service is not found because of the escapes in the
rls-services document.  i need to investigate more.

-- juha


More information about the SIPBeyondVoIP mailing list