Klaus
It was a design consideration.
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.
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 a single pres-rules document can exist for a give users
otherwise OpenSER does not know which document to use.
I believe that it should be a single document describing the rules for
a given presentity as a is central decision making place,
Unless there are better ideas ...
Adrian
If I PUT a document to
http://1.2.3.4/@mydomain/org.openmobilealliance.pres-rules/users/test/pres-…
and then PUT another document to
http://1.2.3.4/@mydomain/org.openmobilealliance.pres-rules/users/test/pres-…
,
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?