Module: kamailio
Branch: master
Commit: 1e52a51a517a08ade0d554544bda2521535e4f98
URL:
https://github.com/kamailio/kamailio/commit/1e52a51a517a08ade0d554544bda252…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-09-25T17:01:36+02:00
modules: readme files regenerated - htable ... [skip ci]
---
Modified: src/modules/htable/README
Modified: src/modules/tls/README
---
Diff:
https://github.com/kamailio/kamailio/commit/1e52a51a517a08ade0d554544bda252…
Patch:
https://github.com/kamailio/kamailio/commit/1e52a51a517a08ade0d554544bda252…
---
diff --git a/src/modules/htable/README b/src/modules/htable/README
index ff0686ef14c..4520bce8333 100644
--- a/src/modules/htable/README
+++ b/src/modules/htable/README
@@ -19,7 +19,13 @@ Ovidiu Sas
<osas(a)voipembedded.com>
+Tyler Moore
+
+ <tmoore(a)dopensource.com>
+
Copyright �� 2008-2011
http://www.asipto.com
+
+ Copyright �� 2023 Tyler Moore (devopsec), dOpenSource
__________________________________________________________________
Table of Contents
@@ -514,6 +520,35 @@ $ kamcmd htable.dump htable
nodes (htable peers). Please note, module parameter ���enable_dmq���
must also be set in order for this to apply (see below). Default is
0 (no replication).
+ * coldelim - the character delimeter to use when packing the htable.
+ When set, this parameter changes the column delimeter between
+ columns in a multiple column hash table. This can be useful when
+ loading JSON data types into a hash table as they conflict with the
+ default ���,��� delimeter, allowing these values to be parsed in the
+ routing config. See the example below on parsing a JSON array from
+ an htable with ���;��� as the column delimeter.
+...
+modparam("htable", "htable",
"customer=>size=8;dbtable=customer;cols='dids,descr
+iption';coldelim=';'")
+...
+$avp(customer) = $sht(customer=>1);
+$var(customer_dids) = $(avp(customer){s.select,0,;});
+$var(customer_desc) = $(avp(customer){s.select,1,;});
+...
+ * colnull - the character to use when packing a NULL value into the
+ htable from the database. This parameter can be set to the empty
+ string or a single character. This can be used to simplify checking
+ a single column in a row for emptiness, in the routing config. The
+ example below shows how one would do that.
+...
+modparam("htable", "htable",
"customer=>size=8;dbtable=customer;cols='name,descr
+iption';colnull=''")
+...
+$avp(customer) = $sht(customer=>1);
+$var(customer_name) = $(avp(customer){s.select,0,;});
+if (!strempty($var(customer_name))) {
+...
+}
Default value is NULL.
diff --git a/src/modules/tls/README b/src/modules/tls/README
index f721ba81d61..7ae3945db77 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -295,10 +295,6 @@ request_route {
options, run kamailio -V and look for USE_TLS and TLS_HOOKS among the
flags.
- For OpenSSL (libssl) v1.1.x, it is required to preload
- 'openssl_mutex_shared' library shipped by Kamailio. For more details
- see 'src/modules/tls/utils/openssl_mutex_shared/README.md'.
-
This module includes several workarounds for various Openssl bugs (like
compression and Kerberos using the wrong memory allocations functions,
low memory problems a.s.o). On startup it will try to enable the needed