My OpenSER works with openxcap, force_active is set to 0. The Subscription query the "xcap" table for permission rules of specified watcher. I create a simple xml rule which is shown below, and store it in xcap table. But the subscription-state is still "pending". I found another presence authorization rules that uses different statments like <provide-services> or <transformations>. which one should I use? Thank you!

   <?xml version="1.0" encoding="UTF-8"?>
<permission-statements>
<statement id="as8f">
<applies-to>
<domain>open-ims.test</domain>
</applies-to>

<permissions>
<accept/>
</permissions>
</statement>
</permission-statements>
Regards,
Lei


用 Windows Live Spaces 展示个性自我,与好友分享生活! 了解更多信息!