Module: kamailio
Branch: master
Commit: 610603da5fb45eeffba2f7d623f50b358e65d6ed
URL:
https://github.com/kamailio/kamailio/commit/610603da5fb45eeffba2f7d623f50b3…
Author: Riccardo Villa <riccardo.villa(a)netaxis.be>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-01-20T12:30:22+01:00
db_redis: update documentation
---
Modified: src/modules/db_redis/doc/db_redis_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/610603da5fb45eeffba2f7d623f50b3…
Patch:
https://github.com/kamailio/kamailio/commit/610603da5fb45eeffba2f7d623f50b3…
---
diff --git a/src/modules/db_redis/doc/db_redis_admin.xml
b/src/modules/db_redis/doc/db_redis_admin.xml
index 6439c79b6f..b3b54c08a2 100644
--- a/src/modules/db_redis/doc/db_redis_admin.xml
+++ b/src/modules/db_redis/doc/db_redis_admin.xml
@@ -146,6 +146,17 @@
location=entry:ruid&usrdom:username,domain&timer:partition,keepalive;acc
</listitem>
</itemizedlist>
</para>
+ <para>
+ The following library is an optional dependency to support redis cluster protocol:
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>hiredis-cluster</emphasis> - available at
+ <ulink
url="https://github.com/Nordix/hiredis-cluster">https://github…
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
</section>
</section>
@@ -216,6 +227,10 @@ modparam("db_redis", "verbosity", 0)
'redis://[username]@host:port/database'. Username is optional.
The database portion must be a valid Redis database number.
</para>
+ <para>
+ For cluster support you need to set the "db_url" modparam with a comma
separated list of cluster hosts:
+ 'redis://host1:port1,host2:port2/'. The database portion is not supported in
cluster mode.
+ </para>
<example>
<title>Usage</title>
<programlisting format="linespecific">