Module: sip-router
Branch: master
Commit: 90e9d7fc8fb339194c6be6eec2b1ec793e32af78
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=90e9d7f…
Author: pd <peter.dunkley(a)crocodile-rcs.com>
Committer: pd <peter.dunkley(a)crocodile-rcs.com>
Date: Wed Oct 19 12:45:28 2011 +0100
modules_k/pua: added DB only mode to PUA
- By using DB only mode PUA (and modules that use PUA like RLS) can be
distributed across many Kamailio servers for scaling and resilience.
- This change has been in use internally at Crocodile RCS for some time,
but it is extensive.
- The DB only mode changes have been made in a way that changes the pre-
existing (hash-table based) mode of operation as little as possible.
This original mode of operation SHOULD be unaffected by this change.
- This enhancement was made by Paul Pankhurst at Crocodile RCS.
---
modules_k/pua/README | 218 +++---
modules_k/pua/doc/pua_admin.xml | 32 +-
modules_k/pua/hash.c | 73 ++-
modules_k/pua/hash.h | 8 +-
modules_k/pua/pua.c | 71 ++-
modules_k/pua/pua.h | 8 +
modules_k/pua/pua_db.c | 1657 +++++++++++++++++++++++++++++++++++++++
modules_k/pua/pua_db.h | 64 ++
modules_k/pua/send_publish.c | 149 +++-
modules_k/pua/send_subscribe.c | 181 ++++-
10 files changed, 2262 insertions(+), 199 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=90e…