Hello,

It should be implemented in presence module. Only it has acces to presentity_table and active_watchers table and in here notifications are generated.
Moreover this function could be generaly used no matter the event.

regards,

Anca

Klaus Darilion wrote:

Hi Anca!

I'm thinking about an MI function for resending NOTIFYs.

E.g. if the presence of an user is updated by an external application which writes directly into the presence table (instead of sending a PUBLISH) I want to trigger NOTIFYs to the watchers by calling this MI function.

Question: Where should this MI function be implemented? In presence or presence_xml module?

regards
klaus

Anca Vamanu wrote:

Revision: 2039
          http://openser.svn.sourceforge.net/openser/?rev=2039&view=rev
Author:   anca_vamanu
Date:     2007-04-23 00:28:35 -0700 (Mon, 23 Apr 2007)

Log Message:
-----------
- Restructured the module to handle PUBLISH and SUBSCRIBE messages and generates NOTIFY messages in a general, event independentway. It allows registering events to it from other OpenSER modules. presence_xml module adds events: presence, presence.winfo, dialog;sla.
Modified Paths:
--------------
    trunk/modules/presence/README
    trunk/modules/presence/doc/presence.sql
    trunk/modules/presence/doc/presence_devel.sgml
    trunk/modules/presence/doc/presence_user.sgml
    trunk/modules/presence/event_list.c
    trunk/modules/presence/event_list.h
    trunk/modules/presence/notify.c
    trunk/modules/presence/notify.h
    trunk/modules/presence/presence.c
    trunk/modules/presence/presence.h
    trunk/modules/presence/presentity.c
    trunk/modules/presence/publish.c
    trunk/modules/presence/subscribe.c
    trunk/modules/presence/subscribe.h
    trunk/modules/presence/utils_func.c
    trunk/modules/presence/utils_func.h

Added Paths:
-----------
    trunk/modules/presence/bind_presence.c
    trunk/modules/presence/bind_presence.h


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel




_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to