Module: kamailio
Branch: master
Commit: c2512ac4b93dfc82264fc6d50d9b27a12755980f
URL:
https://github.com/kamailio/kamailio/commit/c2512ac4b93dfc82264fc6d50d9b27a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-04-07T17:35:25+02:00
siptrace: docs for trace_init_mode parameter
---
Modified: src/modules/siptrace/doc/siptrace_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/c2512ac4b93dfc82264fc6d50d9b27a…
Patch:
https://github.com/kamailio/kamailio/commit/c2512ac4b93dfc82264fc6d50d9b27a…
---
diff --git a/src/modules/siptrace/doc/siptrace_admin.xml
b/src/modules/siptrace/doc/siptrace_admin.xml
index 511dda3a98..2192b1b199 100644
--- a/src/modules/siptrace/doc/siptrace_admin.xml
+++ b/src/modules/siptrace/doc/siptrace_admin.xml
@@ -462,6 +462,44 @@ modparam("siptrace", "trace_delayed", 1)
...
modparam("siptrace", "force_send_sock",
"sip:10.1.1.2:5000")
...
+</programlisting>
+ </example>
+ </section>
+ <section id="siptrace.p.trace_init_mode">
+ <title><varname>trace_init_mode</varname>
(integer)</title>
+ <para>
+ Control what tracing modes are initialized.
+ </para>
+ <para>
+ The value of the parameter can be a combination of next values:
+ <itemizedlist>
+ <listitem>
+ <para>
+ 0 - all modes are initialized.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ 1 - module initialized to do tracing only with core callback
+ functions (see also 'trace_mode' parameter).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ 2 - module initialized to do tracing only using config script flags
+ and functions.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Default value is <emphasis>0</emphasis>.
+ </para>
+ <example>
+ <title>Set <varname>trace_init_mode</varname>
parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("siptrace", "trace_init_mode", 1)
+...
</programlisting>
</example>
</section>