Module: kamailio Branch: master Commit: ca3f2fc6dd2c94410b225d2efb82081b828ddd01 URL: https://github.com/kamailio/kamailio/commit/ca3f2fc6dd2c94410b225d2efb82081b...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-06-25T10:00:01+02:00
topoh: documented uri_prefix_checks parameter
---
Modified: src/modules/topoh/doc/topoh_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/ca3f2fc6dd2c94410b225d2efb82081b... Patch: https://github.com/kamailio/kamailio/commit/ca3f2fc6dd2c94410b225d2efb82081b...
---
diff --git a/src/modules/topoh/doc/topoh_admin.xml b/src/modules/topoh/doc/topoh_admin.xml index c3366dd735..0d8bda5bb1 100644 --- a/src/modules/topoh/doc/topoh_admin.xml +++ b/src/modules/topoh/doc/topoh_admin.xml @@ -253,6 +253,34 @@ modparam("topoh", "sanity_checks", 1) </programlisting> </example> </section> + <section> + <title><varname>uri_prefix_checks</varname> (integer)</title> + <para> + 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. + </para> + <para> + 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). + </para> + <para> + <emphasis> + Default value is 0. + </emphasis> + </para> + <example> + <title>Set <varname>uri_prefix_checks</varname> parameter</title> + <programlisting format="linespecific"> +... +modparam("topoh", "uri_prefix_checks", 1) +... +</programlisting> + </example> + </section> </section>
<section>