[OpenSIPS-Users] [presence] About Watcher Information Event package (A to B)

Iñaki Baz Castillo ibc at aliax.net
Mon Jun 15 01:22:45 CEST 2009


El Lunes, 15 de Junio de 2009, Iñaki Baz Castillo escribió:
> Hi, RFC 3857 states in section 3.1:
>
>   The policy of the server is such that it allows B to subscribe to its
>    own watcher information.
>
> Would OpenSIPS presence module disallow (by itself) if user A tries to
> subscribe to watcher information of user B?
> Or must this authorization be checked in the script?
>
> Thanks.


Opss, Section 3.1 shows an example in which an application server subscribes 
to the watcher information of an user:

 3.2.  Blacklist Alerts

   Applications can subscribe to watcher information in order to provide
   value-added features.  An example application is "blacklist alerts".
   In this scenario, an application server maintains a list of known
   "bad guys".  A user, Joe, signs up for service with the application
   provider, presumably by going to a web page and entering in his
   presence URI.  The application server subscribes to the watcher
   information for Joe's presence.  When someone attempts to SUBSCRIBE
   to Joe's user presence, the application learns of this subscription
   as a result of its watcher info subscription.  It checks the
   watcher's URI against the database of known bad guys.  If there is a
   match, it sends email to Joe letting him know about this.

   For this application to work, Joe needs to make sure that the
   application is allowed to subscribe to his presence.winfo.

-- 
Iñaki Baz Castillo <ibc at aliax.net>



More information about the Users mailing list