Module: kamailio
Branch: master
Commit: 2159e7b2af772beebe3af290c92f8e88ed864daf
URL:
https://github.com/kamailio/kamailio/commit/2159e7b2af772beebe3af290c92f8e8…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2018-11-02T09:16:27+01:00
modules: readme files regenerated - db_redis ... [skip ci]
---
Modified: src/modules/db_redis/README
---
Diff:
https://github.com/kamailio/kamailio/commit/2159e7b2af772beebe3af290c92f8e8…
Patch:
https://github.com/kamailio/kamailio/commit/2159e7b2af772beebe3af290c92f8e8…
---
diff --git a/src/modules/db_redis/README b/src/modules/db_redis/README
index 75f31cf213..1a5c33caef 100644
--- a/src/modules/db_redis/README
+++ b/src/modules/db_redis/README
@@ -134,6 +134,12 @@
nce/string,server_id/int,connection_id/int,keepalive/int,partition/int
'address:entry::1', address:entry::2', address:entry::3', ... No
'keys'
modparam of 'db_redis' for 'address' table needs to be defined.
+ Important Note: at this moment the module requires at least one 'keys'
+ parameter, but it does not need to be related to the table loaded from
+ Redis server -- for example, if used only for permissions module with
+ 'address' table, then the 'keys' parameter can be specified for
+ 'version' table.
+
The mappings can be freely defined in the "keys" module parameter,
which is composed of a semi-colon separated list of definitions in the
format
@@ -231,6 +237,7 @@ loadmodule "db_redis.so"
#!define DBURL_PERM "redis://127.0.0.1:6379/8"
...
modparam("db_redis", "schema_path",
"/usr/share/kamailio/db_redis/kamailio")
+modparam("db_redis", "keys", "version=entry:table_name")
modparam("db_redis", "keys",
"location=entry:ruid&usrdom:username,domain&timer:p
artition,keepalive")
modparam("db_redis", "keys",
"acc=entry:callid,time_hires&cid:callid")