It seems that on the README and wiki page the auid was incorrectly displayed. I have corrected it. You can use either these two auids to identify the presence rulles application:
- pres-rules - org.openmobilealliance.pres-rules Examples for how to PUT/GET/DELETE documents on the XCAP server are found here: http://download.ag-projects.com/OpenXCAP/clients/README.xcapclient You can also use the ready to use xcap_pres_rules.py script that does it interactively in the console: http://sipsimpleclient.com/wiki/xcap_pres_rules Regards, Adrian On Dec 6, 2008, at 11:51 AM, Kenneth Löfstrand wrote: > So how do I try that? I cannot find where to specify which AUID to > be used by the presence server > > /Kenneth > > > Adrian Georgescu skrev: >> Try pres-rules instead of presence rules. If you PUT pres-rules you >> cannot obtain the same result back by doing GET presence-rules >> >> >> Adrian >> >> >> >> On Dec 5, 2008, at 5:39 PM, Kenneth Löfstrand wrote: >> >> >>> Hi >>> I have started playing around with the combination Open IMS/ >>> Presence, >>> OpenXCAP and OpenIMS. Currently OpenXCAP and the presence server are >>> installed in the same PC and the Open IMS stuff in other PC's. I can >>> have a terminal sending XCAP requests to OpenXCAP and I can >>> subscribe >>> and publish to the presence server through the IMS network but the >>> presence server doesn't care about the presence rule documents. >>> >>> When sending the XCAP PUT request I use the command: >>> >>> PUT org.openmobilealliance.pres-rules/users/sip:[EMAIL PROTECTED]/pres-rules >>> >>> no problem so far and the document can also be retreived. >>> >>> When bob subscribes for alice presence information I can see that >>> the >>> presence server sends a GET request using another AUID: >>> >>> GET presence-rules/users/sip:[EMAIL PROTECTED]/index >>> >>> and this results in a 404 error response. Why getting the index >>> instead >>> of pres-rules? >>> >>> From what I understand the AUID is defined in a different way by >>> IETF >>> and OMA. How can this be handled by OpenIMS/OpenXCAP/OpenSIPS? >>> >>> Best regards >>> Kenneth Löfstrand >>> >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] <mailto:[email protected]> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
