[OpenSIPS-Users] Query regarding xcap rules for presence

Visu.M visumrs at gmail.com
Thu Mar 12 18:48:40 CET 2009


Thanks Adrian and Anca for your replies.

based on your replies, I get that presence rules is one way association.
(publisher only).
Just wanted to confirm that can't we have two way presence rules ? (from
subscriber as well)

say, Alice wants to be notified *only* when Bob is in his office and not
during other times.
(right now, I get that, rules can be, say Bob can state that notify Alice of
my presence when I am in office)

As you said, I can code in client or presence_xml module to get what I want.
Just wanted to know, if this is allowed.

Thanks in Advance,
Visu M


On Thu, Mar 12, 2009 at 12:39 PM, Adrian Georgescu <ag at ag-projects.com>wrote:

> As far as I know this is not possible with a standard mechanism. Now if you
> are a developer nobody can stop you to code yourself such aggregation logic
> on top of the existing presence_xml module. Whether this makes sense for
> anybody else is another question, most probably the answer is no.
> Adrian
>
> On Mar 12, 2009, at 5:05 PM, Visu.M wrote:
>
> Hi,
>
> I have a query regarding xcap rules in presence.
> I wanted to know what are the different ways, I can set presence rules in
> XCAP.
>
> For example : Alice has subscribed to Bob and Carol. (Alice's buddy list)
> Now,  Alice need to be notified only when *both* Bob and Carol's status
> message changes (or mood, etc changes).
>
> Is there a way in Opensips / Openxcap to set such rules ?
> Is all types of such boolean operations possible ?
> I believe that since rules are XML documents, these things should be
> possible.
>
> Please let me know any documents or pointers for doing such activities.
>
> Thanks,
> Visu M
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090312/52516d75/attachment-0001.htm 


More information about the Users mailing list