<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Klaus<div><br class="webkit-block-placeholder"></div><div>It was a design consideration.<div><br class="webkit-block-placeholder"></div><div>OpenSER queries for the pres rules document based on app type. If you store in OpenXCAP server multiple pres-rules application documents with different names this had worked but OpenSER will simply pick the first document depending on what mysql query returns first.</div><div><br class="webkit-block-placeholder"></div><div>Finally you have multiple clients that write their own pres-rules but OpenSER care about only one (and you do not know before hand which one as app type is equal). So we setup OpenXCAP server to consider that any moment &nbsp;a single pres-rules document can exist for a give users otherwise OpenSER does not know which document to use.</div><div><br class="webkit-block-placeholder"></div><div>I believe that it should be a single document describing the rules for a given presentity as a is central&nbsp;decision&nbsp;making place,&nbsp;</div><div><br class="webkit-block-placeholder"></div><div>Unless there are better ideas ...</div><div><br class="webkit-block-placeholder"></div><div>Adrian</div><div><br class="webkit-block-placeholder"></div><div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><span class="Apple-style-span" style="font-family: Times; font-size: 14px; "><pre>If I PUT a document to
<a href="http://1.2.3.4/@mydomain/org.openmobilealliance.pres-rules/users/test/pres-rules">http://1.2.3.4/@mydomain/org.openmobilealliance.pres-rules/users/test/pres-rules</a> 
and then PUT another document to
<a href="http://1.2.3.4/@mydomain/org.openmobilealliance.pres-rules/users/test/pres-rules2,">http://1.2.3.4/@mydomain/org.openmobilealliance.pres-rules/users/test/pres-rules2,</a> 
it will overwrite the first file, thus it does not matter if it is 
pres-rules or pres-rules2.

Is this by design, a wrong configuration, or just a bug?</pre></span></div></span></div></div></div></body></html>