Module: sip-router Branch: master Commit: 35568faf7082ccd1316bb09c9216b9ff8efd9227 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=35568faf...
Author: Marius Bucur marius.bucur@1and1.ro Committer: Marius Bucur marius.bucur@1and1.ro Date: Wed Jan 12 18:13:32 2011 +0200
modules_k/presence: added new functionality to the presence engine
The new "dbmode" parameter controls the way subscriptions are handled: in memory, fallback to database, or database only. The "fallback2db" parameter will still ve available for config compatibility.
---
modules_k/presence/README | 94 ++++++--- modules_k/presence/doc/presence_admin.xml | 22 ++- modules_k/presence/hash.c | 4 +- modules_k/presence/notify.c | 144 +++++++------ modules_k/presence/presence.c | 11 +- modules_k/presence/presence.h | 11 +- modules_k/presence/presentity.c | 4 +- modules_k/presence/subscribe.c | 218 ++++++++++++++++++-- .../presence_tests/clean_subscribers.sh | 13 ++ .../test_framework/presence_tests/config.sh | 12 + .../presence_tests/presence_subscribe_suite.sh | 58 +++++ .../test_framework/presence_tests/send_publish.sh | 29 +++ .../presence_tests/send_subscribe.sh | 47 +++++ 13 files changed, 536 insertions(+), 131 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=3556...