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

Adrian Georgescu ag at ag-projects.com
Mon Jun 15 08:06:27 CEST 2009


Hi Inaki,

This use case does not concern another regular SIP subscribe but the  
administrator of the system. I would say that the best way to achieve  
this with OpenSIPS would to select from the watcher database rather  
than composing Subscribe from an administrator tool.

Adrian


On Jun 15, 2009, at 1:22 AM, Iñaki Baz Castillo wrote:

> 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>
>
> _______________________________________________
> 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/20090615/bff6cc9a/attachment.htm 


More information about the Users mailing list