Module: kamailio
Branch: master
Commit: 111548639b8cf743d3919048da0ccf971c2340bf
URL:
https://github.com/kamailio/kamailio/commit/111548639b8cf743d3919048da0ccf9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-12T10:23:55+02:00
pdt: docs for mode parameter
- GH #3485
---
Modified: src/modules/pdt/doc/pdt_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/111548639b8cf743d3919048da0ccf9…
Patch:
https://github.com/kamailio/kamailio/commit/111548639b8cf743d3919048da0ccf9…
---
diff --git a/src/modules/pdt/doc/pdt_admin.xml b/src/modules/pdt/doc/pdt_admin.xml
index f49f9515798..47aefffcf6e 100644
--- a/src/modules/pdt/doc/pdt_admin.xml
+++ b/src/modules/pdt/doc/pdt_admin.xml
@@ -299,6 +299,27 @@ modparam("pdt", "char_list",
"0123456789*+")
...
modparam("pdt", "check_domain", 0)
...
+</programlisting>
+ </example>
+ </section>
+
+ <section>
+ <title><varname>mode</varname> (integer)</title>
+ <para>
+ If set to 1, duplicated prefixes are ingnored and starting continues,
+ if 0, then starting or loading fails.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>mode</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("pdt", "mode", 1)
+...
</programlisting>
</example>
</section>