|
@@ -0,0 +1,158 @@
|
|
|
|
+<?xml version="1.0" encoding='ISO-8859-1'?>
|
|
|
|
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
+"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
|
|
+
|
|
|
|
+<!-- Include general documentation entities -->
|
|
|
|
+<!ENTITY % docentities SYSTEM "../../../docbook/entities.xml">
|
|
|
|
+%docentities;
|
|
|
|
+
|
|
|
|
+]>
|
|
|
|
+
|
|
|
|
+<!-- Module User's Guide -->
|
|
|
|
+
|
|
|
|
+<chapter>
|
|
|
|
+
|
|
|
|
+ <title>&adminguide;</title>
|
|
|
|
+
|
|
|
|
+ <section>
|
|
|
|
+ <title>Overview</title>
|
|
|
|
+ <para>
|
|
|
|
+ This module provides a report of the way &kamailioname; configuration
|
|
|
|
+ has been executed as part of a unit test for different
|
|
|
|
+ SIP scenarios.
|
|
|
|
+ </para>
|
|
|
|
+ <para>
|
|
|
|
+ In order to identify defferent scenarios a prefix string should be
|
|
|
|
+ used at Call-ID header.
|
|
|
|
+ </para>
|
|
|
|
+ </section>
|
|
|
|
+ <section>
|
|
|
|
+ <title>Dependencies</title>
|
|
|
|
+ <section>
|
|
|
|
+ <title>&kamailio; Modules</title>
|
|
|
|
+ <para>
|
|
|
|
+ The following modules must be loaded before this module:
|
|
|
|
+ <itemizedlist>
|
|
|
|
+ <listitem>
|
|
|
|
+ <para>
|
|
|
|
+ <emphasis>None</emphasis>.
|
|
|
|
+ </para>
|
|
|
|
+ </listitem>
|
|
|
|
+ </itemizedlist>
|
|
|
|
+ </para>
|
|
|
|
+ </section>
|
|
|
|
+ <section>
|
|
|
|
+ <title>External Libraries or Applications</title>
|
|
|
|
+ <para>
|
|
|
|
+ The following libraries or applications must be installed before running
|
|
|
|
+ &kamailio; with this module loaded:
|
|
|
|
+ <itemizedlist>
|
|
|
|
+ <listitem>
|
|
|
|
+ <para>
|
|
|
|
+ <emphasis>None</emphasis>.
|
|
|
|
+ </para>
|
|
|
|
+ </listitem>
|
|
|
|
+ </itemizedlist>
|
|
|
|
+ </para>
|
|
|
|
+ </section>
|
|
|
|
+ </section>
|
|
|
|
+ <section>
|
|
|
|
+ <title>Parameters</title>
|
|
|
|
+ <section id="cfg.p.basedir">
|
|
|
|
+ <title><varname>basedir</varname> (string)</title>
|
|
|
|
+ <para>
|
|
|
|
+ Control where the config reports should be stored. The dir must
|
|
|
|
+ exists and &kamailioname; must have perms to write on it.
|
|
|
|
+ </para>
|
|
|
|
+ <para>
|
|
|
|
+ <emphasis>
|
|
|
|
+ Default value is <quote>/tmp</quote>.
|
|
|
|
+ </emphasis>
|
|
|
|
+ </para>
|
|
|
|
+ <example>
|
|
|
|
+ <title>Set <varname>cfgtrace</varname> parameter</title>
|
|
|
|
+ <programlisting format="linespecific">
|
|
|
|
+...
|
|
|
|
+modparam("cfgt", "basedir", "/var/run/kamailio/cfgtest")
|
|
|
|
+...
|
|
|
|
+</programlisting>
|
|
|
|
+ </example>
|
|
|
|
+ </section>
|
|
|
|
+
|
|
|
|
+ <section id="cfgt.p.mask">
|
|
|
|
+ <title><varname>mask</varname> (int)</title>
|
|
|
|
+ <itemizedlist>
|
|
|
|
+ <para><emphasis>mask</emphasis> - Control the type of vars it should
|
|
|
|
+ display in the report:
|
|
|
|
+ </para>
|
|
|
|
+ <itemizedlist>
|
|
|
|
+ <listitem><para>
|
|
|
|
+ 1 - dump null values
|
|
|
|
+ </para></listitem>
|
|
|
|
+ <listitem><para>
|
|
|
|
+ 2 - dump avp vars
|
|
|
|
+ </para></listitem>
|
|
|
|
+ <listitem><para>
|
|
|
|
+ 4 - dump script vars
|
|
|
|
+ </para></listitem>
|
|
|
|
+ <listitem><para>
|
|
|
|
+ 8 - dump xavp vars
|
|
|
|
+ </para></listitem>
|
|
|
|
+ <listitem><para>
|
|
|
|
+ 16 - dump DP_OTHER vars
|
|
|
|
+ </para></listitem>
|
|
|
|
+ <listitem><para>
|
|
|
|
+ 32 - dump ALL vars
|
|
|
|
+ </para></listitem>
|
|
|
|
+ </itemizedlist>
|
|
|
|
+ </itemizedlist>
|
|
|
|
+ <para>
|
|
|
|
+ <emphasis>
|
|
|
|
+ Default value is <quote>32</quote> (ALL).
|
|
|
|
+ </emphasis>
|
|
|
|
+ </para>
|
|
|
|
+ <example>
|
|
|
|
+ <title>Set <varname>mask</varname> parameter</title>
|
|
|
|
+ <programlisting format="linespecific">
|
|
|
|
+...
|
|
|
|
+# dump xavp(8) and avp(4) vars
|
|
|
|
+modparam("cfgt", "mask", 12)
|
|
|
|
+...
|
|
|
|
+</programlisting>
|
|
|
|
+ </example>
|
|
|
|
+ </section>
|
|
|
|
+
|
|
|
|
+ <section id="cfgt.p.callid_prefix">
|
|
|
|
+ <title><varname>callid_prefix</varname> (string)</title>
|
|
|
|
+ <para>
|
|
|
|
+ Prefix used to indentify test scenario messages. Last char of the
|
|
|
|
+ string will be used as delimiter.
|
|
|
|
+ </para>
|
|
|
|
+ <para>
|
|
|
|
+ <emphasis>
|
|
|
|
+ Default value is <quote>NGCP%</quote>
|
|
|
|
+ (using <quote>%</quote> as delimiter).
|
|
|
|
+ </emphasis>
|
|
|
|
+ </para>
|
|
|
|
+ <example>
|
|
|
|
+ <title>Set <varname>callid_prefix</varname> parameter</title>
|
|
|
|
+ <programlisting format="linespecific">
|
|
|
|
+...
|
|
|
|
+# using '%' as delimiter
|
|
|
|
+modparam("cfgt", "callid_prefix", "TEST-ID%")
|
|
|
|
+...
|
|
|
|
+</programlisting>
|
|
|
|
+ </example>
|
|
|
|
+ </section>
|
|
|
|
+
|
|
|
|
+ </section>
|
|
|
|
+
|
|
|
|
+<!--
|
|
|
|
+ <section>
|
|
|
|
+ <title>Usage</title>
|
|
|
|
+ <para>
|
|
|
|
+ TODO: add some more info of how this is been used
|
|
|
|
+ </para>
|
|
|
|
+ </section>
|
|
|
|
+-->
|
|
|
|
+</chapter>
|