Module: kamailio
Branch: master
Commit: 504695defe5510774aa37e658d016570f99c2e4f
URL: https://github.com/kamailio/kamailio/commit/504695defe5510774aa37e658d01657…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-07-05T20:46:19+02:00
modules: readme files regenerated - topos ... [skip ci]
---
Modified: src/modules/topos/README
---
Diff: https://github.com/kamailio/kamailio/commit/504695defe5510774aa37e658d01657…
Patch: https://github.com/kamailio/kamailio/commit/504695defe5510774aa37e658d01657…
---
diff --git a/src/modules/topos/README b/src/modules/topos/README
index b63965cd5d..a2d0544f55 100644
--- a/src/modules/topos/README
+++ b/src/modules/topos/README
@@ -50,6 +50,7 @@ Frederic Gaisnon
3.17. rr_update (int)
3.18. context (str)
3.19. methods_nocontact (str)
+ 3.20. methods_noinitial (str)
4. Functions
@@ -83,11 +84,12 @@ Frederic Gaisnon
1.17. Set rr_update parameter
1.18. Set context parameter
1.19. Set methods_nocontact parameter
- 1.20. tps_set_context usage
- 1.21. Usage of event_route[topos:msg-outgoing]
- 1.22. Usage of event_route[topos:msg-sending]
- 1.23. Usage of event_route[topos:msg-incoming]
- 1.24. Usage of event_route[topos:msg-receoving]
+ 1.20. Set methods_noinitial parameter
+ 1.21. tps_set_context usage
+ 1.22. Usage of event_route[topos:msg-outgoing]
+ 1.23. Usage of event_route[topos:msg-sending]
+ 1.24. Usage of event_route[topos:msg-incoming]
+ 1.25. Usage of event_route[topos:msg-receoving]
Chapter 1. Admin Guide
@@ -120,6 +122,7 @@ Chapter 1. Admin Guide
3.17. rr_update (int)
3.18. context (str)
3.19. methods_nocontact (str)
+ 3.20. methods_noinitial (str)
4. Functions
@@ -193,6 +196,7 @@ Chapter 1. Admin Guide
3.17. rr_update (int)
3.18. context (str)
3.19. methods_nocontact (str)
+ 3.20. methods_noinitial (str)
3.1. storage (str)
@@ -488,6 +492,18 @@ modparam("topos", "context", "srvone")
modparam("topos", "methods_nocontact", "CANCEL,PRACK")
...
+3.20. methods_noinitial (str)
+
+ List of SIP methods to skip doing topos if it is an intial request (no
+ To-tag).
+
+ Default value is “” (no method).
+
+ Example 1.20. Set methods_noinitial parameter
+...
+modparam("topos", "methods_noinitial", "OPTIONS,NOTIFY")
+...
+
4. Functions
4.1. tps_set_context(ctx)
@@ -499,7 +515,7 @@ modparam("topos", "methods_nocontact", "CANCEL,PRACK")
This function can be used from ANY_ROUTE.
- Example 1.20. tps_set_context usage
+ Example 1.21. tps_set_context usage
...
request_route {
...
@@ -527,7 +543,7 @@ request_route {
reparsing the outgoing SIP message for the cases when topology hiding
is not wanted.
- Example 1.21. Usage of event_route[topos:msg-outgoing]
+ Example 1.22. Usage of event_route[topos:msg-outgoing]
...
event_route[topos:msg-outgoing] {
if($sndto(ip)=="10.1.1.10") {
@@ -546,7 +562,7 @@ event_route[topos:msg-outgoing] {
$sndto(proto) point to the destination. The SIP message is the one to
be sent out.
- Example 1.22. Usage of event_route[topos:msg-sending]
+ Example 1.23. Usage of event_route[topos:msg-sending]
...
event_route[topos:msg-sending] {
if(is_request() and $fU=="alice") {
@@ -566,7 +582,7 @@ event_route[topos:msg-sending] {
internally generated one at startup, to avoid reparsing the outgoing
SIP message for the cases when topology hiding is not wanted.
- Example 1.23. Usage of event_route[topos:msg-incoming]
+ Example 1.24. Usage of event_route[topos:msg-incoming]
...
event_route[topos:msg-incoming] {
if($si=="10.1.1.10") {
@@ -584,7 +600,7 @@ event_route[topos:msg-incoming] {
Inside the event route the variables $si, $sp and $proto point to the
source address. The SIP message is the one to be sent out.
- Example 1.24. Usage of event_route[topos:msg-receoving]
+ Example 1.25. Usage of event_route[topos:msg-receoving]
...
event_route[topos:msg-receiving] {
if(is_request() and $fU=="alice") {
Module: kamailio
Branch: master
Commit: ebbe6268de3aff6ba830f1722942c2f10c6de2f3
URL: https://github.com/kamailio/kamailio/commit/ebbe6268de3aff6ba830f1722942c2f…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-07-04T15:46:14+02:00
modules: readme files regenerated - ndb_redis ... [skip ci]
---
Modified: src/modules/ndb_redis/README
Modified: src/modules/topos/README
---
Diff: https://github.com/kamailio/kamailio/commit/ebbe6268de3aff6ba830f1722942c2f…
Patch: https://github.com/kamailio/kamailio/commit/ebbe6268de3aff6ba830f1722942c2f…
---
diff --git a/src/modules/ndb_redis/README b/src/modules/ndb_redis/README
index 2ca2c52c58..46081b7ec8 100644
--- a/src/modules/ndb_redis/README
+++ b/src/modules/ndb_redis/README
@@ -50,6 +50,7 @@ Carsten Bock
3.7. disable_time (integer)
3.8. flush_on_reconnect (integer)
3.9. allow_dynamic_nodes (integer)
+ 3.10. debug (integer)
4. Functions
@@ -69,9 +70,10 @@ Carsten Bock
1.7. Set disable_time parameter
1.8. Set flush_on_reconnect parameter
1.9. Set allow_dynamic_nodes parameter
- 1.10. redis_cmd usage
- 1.11. redis_execute usage
- 1.12. redis_free usage
+ 1.10. Set debug parameter
+ 1.11. redis_cmd usage
+ 1.12. redis_execute usage
+ 1.13. redis_free usage
Chapter 1. Admin Guide
@@ -94,6 +96,7 @@ Chapter 1. Admin Guide
3.7. disable_time (integer)
3.8. flush_on_reconnect (integer)
3.9. allow_dynamic_nodes (integer)
+ 3.10. debug (integer)
4. Functions
@@ -138,6 +141,7 @@ Chapter 1. Admin Guide
3.7. disable_time (integer)
3.8. flush_on_reconnect (integer)
3.9. allow_dynamic_nodes (integer)
+ 3.10. debug (integer)
3.1. server (str)
@@ -319,6 +323,18 @@ modparam("ndb_redis", "cluster", 1)
modparam("ndb_redis", "allow_dynamic_nodes", 1)
...
+3.10. debug (integer)
+
+ Set the verbosity level for some of the log messages. It has to be a
+ log level value.
+
+ Default value is “3” (L_DBG).
+
+ Example 1.10. Set debug parameter
+...
+modparam("ndb_redis", "debug", 1)
+...
+
4. Functions
4.1. redis_cmd(srvname, command, ..., replyid)
@@ -359,7 +375,7 @@ modparam("ndb_redis", "allow_dynamic_nodes", 1)
value. The key can be: rpl_str, rpl_arr, rpl_int, rpl_err, rpl_sts,
rpl_nil.
- Example 1.10. redis_cmd usage
+ Example 1.11. redis_cmd usage
...
if(redis_cmd("srvN", "INCR cnt", "r")) {
# success - the incremented value is in $redis(r=>value)
@@ -438,7 +454,7 @@ if (redis_cmd("srvN", "EXEC", "r")) {
If cluster parameter is set to 1, this function will log an error and
do nothing.
- Example 1.11. redis_execute usage
+ Example 1.12. redis_execute usage
...
After several redis command calls:
redis_pipe_cmd("srvA", "SET foo bar", "r1");
@@ -486,7 +502,7 @@ d commands. The call is not necessary
function. When ndb_redis module closes, all pending replies are freed
automatically.
- Example 1.12. redis_free usage
+ Example 1.13. redis_free usage
...
After a redis command call:
redis_cmd("srvN", "INCR cnt", "r");
diff --git a/src/modules/topos/README b/src/modules/topos/README
index 4c6c4532ad..b63965cd5d 100644
--- a/src/modules/topos/README
+++ b/src/modules/topos/README
@@ -143,11 +143,13 @@ Chapter 1. Admin Guide
to be loaded (tune the module parameters if needed).
It also works for SIP MESSAGE or other requests that do not create a
- dialog -- record_route() must be used for them as well, the headers are
- not going to be in the messages sent to the network, they are needed to
- know local addresses used to communicate with each side. This module is
- designed to work for presence (SUBSCRIBE-based) dialogs too. The
- REGISTER and PUBLISH requests are skipped from processing by this
+ dialog (e.g., OPTIONS) -- record_route() must be used for them as well,
+ the headers are not going to be in the messages sent to the network,
+ they are needed to know local addresses used to communicate with each
+ side. This module is designed to work for presence (SUBSCRIBE-based)
+ dialogs too.
+
+ The REGISTER and PUBLISH requests are skipped from processing by this
module, expected to be terminated on a local SIP server.
2. Dependencies