<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Try pres-rules instead of presence rules. If you PUT pres-rules you cannot obtain the same result back by doing GET presence-rules<div><br></div><div>Adrian<br><div><br></div><div><br><div><div>On Dec 5, 2008, at 5:39 PM, Kenneth Löfstrand wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi<br>I have started playing around with the combination Open IMS/Presence, <br>OpenXCAP and OpenIMS. Currently OpenXCAP and the presence server are <br>installed in the same PC and the Open IMS stuff in other PC's. I can <br>have a terminal sending XCAP requests to OpenXCAP and I can subscribe <br>and publish to the presence server through the IMS network but the <br>presence server doesn't care about the presence rule documents.<br><br>When sending the XCAP PUT request I use the command:<br><br>PUT org.openmobilealliance.pres-rules/users/<a href="sip:alice@mydomain/pres-rules">sip:alice@mydomain/pres-rules</a><br><br>no problem so far and the document can also be retreived.<br><br>When bob subscribes for alice presence information I can see that the <br>presence server sends a GET request using another AUID:<br><br>GET presence-rules/users/<a href="sip:alice@mydomain/index">sip:alice@mydomain/index</a><br><br>and this results in a 404 error response. Why getting the index instead <br>of pres-rules?<br><br> From what I understand the AUID is defined in a different way by IETF <br>and OMA. How can this be handled by OpenIMS/OpenXCAP/OpenSIPS?<br><br>Best regards<br>Kenneth Löfstrand<br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></blockquote></div><br></div></div></body></html>