Module: kamailio
Branch: 5.5
Commit: 9d039b6023dc7c0bfb48509fc47f830eaeede90f
URL:
https://github.com/kamailio/kamailio/commit/9d039b6023dc7c0bfb48509fc47f830…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-05-05T09:31:59+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/auth/README
Modified: src/modules/cfgutils/README
---
Diff:
https://github.com/kamailio/kamailio/commit/9d039b6023dc7c0bfb48509fc47f830…
Patch:
https://github.com/kamailio/kamailio/commit/9d039b6023dc7c0bfb48509fc47f830…
---
diff --git a/src/modules/auth/README b/src/modules/auth/README
index c0badc4115..25c448901d 100644
--- a/src/modules/auth/README
+++ b/src/modules/auth/README
@@ -143,7 +143,8 @@ Chapter 1. Admin Guide
2. Dependencies
- The module does not depend on any other module.
+ The following modules must be loaded before this module:
+ * sl - stateless reply.
3. Parameters
diff --git a/src/modules/cfgutils/README b/src/modules/cfgutils/README
index 3d46af3ba3..890952c7c5 100644
--- a/src/modules/cfgutils/README
+++ b/src/modules/cfgutils/README
@@ -757,11 +757,11 @@ $ kamcmd cfgutils.get_gflags
Example 1.34. RANDOM pseudo-variable usage
...
if (rand_event()) {
- $avp(i:10) = ($RANDOM / 16777216); # 2^24
- if ($avp(i:10) < 10) {
- $avp(i:10) = 10;
+ $var(value) = ($RANDOM / 16777216); # 2^24
+ if ($var(value) < 10) {
+ $var(value) = 10;
}
- append_to_reply("Retry-After: $avp(i:10)\n");
+ append_to_reply("Retry-After: $var(value)\n");
sl_send_reply("503", "Try later");
exit;
};