Module: sip-router
Branch: master
Commit: 7665c7947f839ade0e9decbad0c2db41ea29f924
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7665c79…
Author: pd <peter.dunkley(a)crocodile-rcs.com>
Committer: pd <peter.dunkley(a)crocodile-rcs.com>
Date: Wed Oct 19 12:52:21 2011 +0100
modules_k/rls: added DB only mode to rls
- By using DB only mode 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.
- Also contains a small bug-fix to RLS indices by Hugh Waite.
- I have also exported the RLS API for use in app_lua
---
modules_k/rls/README | 373 +++++++-----
modules_k/rls/api.h | 28 +
modules_k/rls/doc/rls_admin.xml | 70 +++
modules_k/rls/notify.c | 85 ++-
modules_k/rls/resource_notify.c | 46 ++-
modules_k/rls/rls.c | 216 ++++++-
modules_k/rls/rls.h | 20 +-
modules_k/rls/rls_db.c | 1220 +++++++++++++++++++++++++++++++++++++++
modules_k/rls/subscribe.c | 179 ++++--
9 files changed, 1958 insertions(+), 279 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=766…