Module: kamailio
Branch: 4.4
Commit: 897942d47e404a17d235c7dcb6237f024b99e3eb
URL:
https://github.com/kamailio/kamailio/commit/897942d47e404a17d235c7dcb6237f0…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-08-30T13:16:09+02:00
modules: readme files regenerated - topoh ... [skip ci]
---
Modified: modules/topoh/README
---
Diff:
https://github.com/kamailio/kamailio/commit/897942d47e404a17d235c7dcb6237f0…
Patch:
https://github.com/kamailio/kamailio/commit/897942d47e404a17d235c7dcb6237f0…
---
diff --git a/modules/topoh/README b/modules/topoh/README
index 213524545c..fb7442cc56 100644
--- a/modules/topoh/README
+++ b/modules/topoh/README
@@ -34,6 +34,7 @@ Daniel-Constantin Mierla
3.7. vparam_prefix (str)
3.8. callid_prefix (str)
3.9. sanity_checks (integer)
+ 3.10. uri_prefix_checks (integer)
List of Examples
@@ -46,6 +47,7 @@ Daniel-Constantin Mierla
1.7. Set vparam_prefix parameter
1.8. Set callid_prefix parameter
1.9. Set sanity_checks parameter
+ 1.10. Set uri_prefix_checks parameter
Chapter 1. Admin Guide
@@ -68,6 +70,7 @@ Chapter 1. Admin Guide
3.7. vparam_prefix (str)
3.8. callid_prefix (str)
3.9. sanity_checks (integer)
+ 3.10. uri_prefix_checks (integer)
1. Overview
@@ -113,6 +116,7 @@ Chapter 1. Admin Guide
3.7. vparam_prefix (str)
3.8. callid_prefix (str)
3.9. sanity_checks (integer)
+ 3.10. uri_prefix_checks (integer)
3.1. mask_key (str)
@@ -226,3 +230,22 @@ modparam("topoh", "callid_prefix",
"***")
...
modparam("topoh", "sanity_checks", 1)
...
+
+3.10. uri_prefix_checks (integer)
+
+ If set to 1, topoh module will check if URIs to be decoded match the
+ expected prefix composed from mask IP and parameter name prefix. It can
+ make the topoh processing safer by avoiding to try decoding URIs which
+ were not encoded previously by topoh.
+
+ Note: do not enable this option if you have SIP devices that can alter
+ the URI values it takes from Contact or Record-Route headers (like
+ adding port 5060 when no port is in received URIs, or thet introduce
+ new parameters at unknown position).
+
+ Default value is 0.
+
+ Example 1.10. Set uri_prefix_checks parameter
+...
+modparam("topoh", "uri_prefix_checks", 1)
+...