Module: kamailio
Branch: master
Commit: 977e4f3e4d2a002f8aed55035c4ab6c3ee9ea1b8
URL:
https://github.com/kamailio/kamailio/commit/977e4f3e4d2a002f8aed55035c4ab6c…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-01-09T11:02:08+01:00
modules: readme files regenerated - gcrypt ... [skip ci]
---
Modified: src/modules/gcrypt/README
---
Diff:
https://github.com/kamailio/kamailio/commit/977e4f3e4d2a002f8aed55035c4ab6c…
Patch:
https://github.com/kamailio/kamailio/commit/977e4f3e4d2a002f8aed55035c4ab6c…
---
diff --git a/src/modules/gcrypt/README b/src/modules/gcrypt/README
index f836521537c..7c4826b849b 100644
--- a/src/modules/gcrypt/README
+++ b/src/modules/gcrypt/README
@@ -26,6 +26,7 @@ Daniel-Constantin Mierla
3. Parameters
3.1. init_vector (str)
+ 3.2. register_callid (int)
4. Functions
@@ -35,8 +36,9 @@ Daniel-Constantin Mierla
List of Examples
1.1. Set init_vector parameter
- 1.2. gcrypt_aes_encrypt usage
- 1.3. gcrypt_aes_decrypt usage
+ 1.2. Set register_callid parameter
+ 1.3. gcrypt_aes_encrypt usage
+ 1.4. gcrypt_aes_decrypt usage
Chapter 1. Admin Guide
@@ -51,6 +53,7 @@ Chapter 1. Admin Guide
3. Parameters
3.1. init_vector (str)
+ 3.2. register_callid (int)
4. Functions
@@ -82,6 +85,7 @@ Chapter 1. Admin Guide
3. Parameters
3.1. init_vector (str)
+ 3.2. register_callid (int)
3.1. init_vector (str)
@@ -92,7 +96,24 @@ Chapter 1. Admin Guide
Example 1.1. Set init_vector parameter
...
-modparam("crypto", "init_vector", "abcdefghijklmnop")
+modparam("gcrypt", "init_vector", "abcdefghijklmnop")
+...
+
+3.2. register_callid (int)
+
+ Set it to 1 in order to register a callback to core for generation of
+ callid values for requests generated by Kamailio tm module.
+
+ This callid generator uses libcrypt random and hashing functions for
+ generating RFC 4122 version 4 UUID with high quality entropy. It is
+ useful when wanting to have new callids that cannot be predicted from
+ previous values.
+
+ Default value is 0.
+
+ Example 1.2. Set register_callid parameter
+...
+modparam("gcrypt", "register_callid", 1)
...
4. Functions
@@ -109,7 +130,7 @@ modparam("crypto", "init_vector",
"abcdefghijklmnop")
This function can be used from ANY_ROUTE.
- Example 1.2. gcrypt_aes_encrypt usage
+ Example 1.3. gcrypt_aes_encrypt usage
...
gcrypt_aes_encrypt("$rb", "my-secret-key",
"$var(encrypted)");
...
@@ -123,7 +144,7 @@ gcrypt_aes_encrypt("$rb", "my-secret-key",
"$var(encrypted)");
This function can be used from ANY_ROUTE.
- Example 1.3. gcrypt_aes_decrypt usage
+ Example 1.4. gcrypt_aes_decrypt usage
...
gcrypt_aes_decrypt("$var(encrypted)", "my-secret-key",
"$var(text)");
...