Comment #15 on issue 153 by [email protected]: MSPS: support usage of
pres-rules on xdm to authorize a presence subscription
http://code.google.com/p/mobicents/issues/detail?id=153
You're right, you need to implement
PresenceSubscription.Control.filterContentPerSubscriber(String subscriber,
Notifier notifier, String eventPackage, Object
unmarshalledContent)
but we need a bit refactoring to have access to the actual sbb, which in
turn exposes the rules associated with the "dialog" subscriptions, through
sbb.getCombinedRules();
I will change the method signature and commit to the svn also with
commented code to get the concrete subscription rules.
I need to review the transformations process to give you an accurate work
time estimation, don't recall if we need an additional API such as XML
patching.