[OpenSIPS-Users] Question Regarding Watchers table.
Anca Vamanu
anca at opensips.org
Tue Oct 20 18:14:46 CEST 2009
Hi Sanjeev,
Insertion in watchers tables occurs when an initial SUBSCRIBE message is
received for a presentity - watcher pair . Another case when the watcher
table might be updated is when an authorization rule changes - for
example A authorizes B and B had previously subscribed to A. Then the
watchers table will be updated and a Notify will be sent to B announcing
that the state of his subscription has changed.
Insertion in active_watchers table occurs when an initial SUBSCRIBE
message (with no To tag) is received.
If you set force_active to 1 then there is nothing to update in watchers
table, since the status will always be allowed.
You can check the documentation here:
http://www.opensips.org/Resources/PresenceServer.
Regards,
Anca
Sanjeev BA wrote:
>
> Hi,
>
>
>
> What watcher A adds presentity B to his contact list using OpenXCAP,
> how is the watchers/active_watchers table updated?
>
> I assume that once the B is added to the the xcap entry for A, the
> xcap server would send a refreshWatchers command, that would make
> opensips presence module to update the watchers/active_watchers table
> and subsequently, presence status changes would be NOTIFY ed to the
> watchers.
>
>
>
> I have set force_active parameter to 1 in opensips config.
>
> Please provide some info on how this interaction works. Any pointers
> will also be helpful.
>
>
>
> Regards,
>
> Sanjeev
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list