According to the instruction(README) of 'presence_xml', if using a integrated xcap server like OpenXCAP, the value of 'force_active' should set to 0. Then, the xcap server is queried and the subscription states is according to user defined permission rules. If no rules are defined for a certain watcher, the subscriptions remains in pending state and the Notify sent will have no body.

Is the 'user defined permission rules' mentioned above specified in RFC 5025(Presence Authorization Rules) or 'XCAP usage for setting presence authorization'? They seems different. I have tried both of them and stored xml in xcap table for a user, say alice(she allows bob to wather her pre-info). But it was not working, subscription state was still 'pending'.

Thank you!

Regards,
Kevin


“七件武器,七种完美” 立刻体验!