Module: kamailio
Branch: master
Commit: 3cfbb8f8e2be64a2bec02ddc25ca8877c0f778f1
URL:
https://github.com/kamailio/kamailio/commit/3cfbb8f8e2be64a2bec02ddc25ca887…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-01-20T12:22:55+01:00
topoh: added docs for use_mode parameter
---
Modified: src/modules/topoh/doc/topoh_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/3cfbb8f8e2be64a2bec02ddc25ca887…
Patch:
https://github.com/kamailio/kamailio/commit/3cfbb8f8e2be64a2bec02ddc25ca887…
---
diff --git a/src/modules/topoh/doc/topoh_admin.xml
b/src/modules/topoh/doc/topoh_admin.xml
index c8718b81a79..b6fc2ab0286 100644
--- a/src/modules/topoh/doc/topoh_admin.xml
+++ b/src/modules/topoh/doc/topoh_admin.xml
@@ -352,6 +352,28 @@ end
...
modparam("topoh", "event_mode", 2)
...
+</programlisting>
+ </example>
+ </section>
+ <section id="topoh.p.use_mode">
+ <title><varname>use_mode</varname> (int)</title>
+ <para>
+ Control how the module is initialized. If set to 1, the module is
+ only initialized to be used as a library via inter-module API
+ functions. If set to 0, the module is initialized for SIP messages
+ processing.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0 (to process SIP messages).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>use_mode</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("topoh", "use_mode", 1)
+...
</programlisting>
</example>
</section>