Module: sems Branch: master Commit: cad6589d67cfe0da4204d301aed94fd5bfd7a297 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=cad6589d67cfe0da4204d301aed94fd5bfd7a297
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Fri Dec 3 03:00:24 2010 +0100 DSM: groups module Development of this module was sponsored by TelTech Systems Inc. The groups module implements a group event broadcast system. DSM calls can join and leave groups, and post events to groups. Events are passed to all members of the group that the event is posted to. Events can, just like the `postEvent` function of DSM, contain either some variables, or all variables. If a call ends, it is automatically removed from all groups it belongs to. Actions: groups.join(groupname) - Join a group groups.leave(groupname) - Leave a group groups.leaveAll() - Leave all groups groups.postEvent(groupname, var1;var2) - post event to groupname with var1 and var2 groups.postEvent(groupname, var) - post event to groupname with all variables --- apps/dsm/mods/mod_groups/CMakeLists.txt | 7 ++ apps/dsm/mods/mod_groups/Makefile | 10 ++ apps/dsm/mods/mod_groups/ModGroups.cpp | 175 +++++++++++++++++++++++++++++++ apps/dsm/mods/mod_groups/ModGroups.h | 67 ++++++++++++ doc/dsm/mods/Readme.mod_groups.txt | 56 ++++++++++ 5 files changed, 315 insertions(+), 0 deletions(-) Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commitdiff;h=cad6589d67cfe0da4204d301aed94fd5bfd7a297 _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
