Module: kamailio
Branch: master
Commit: 61405d0f0139622f78d81daa634caff86f5b3970
URL:
https://github.com/kamailio/kamailio/commit/61405d0f0139622f78d81daa634caff…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-10-04T16:52:00+02:00
corex: docs for via_use_xavp_fields()
---
Modified: src/modules/corex/doc/corex_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/61405d0f0139622f78d81daa634caff…
Patch:
https://github.com/kamailio/kamailio/commit/61405d0f0139622f78d81daa634caff…
---
diff --git a/src/modules/corex/doc/corex_admin.xml
b/src/modules/corex/doc/corex_admin.xml
index 346ecf2019..6460d11913 100644
--- a/src/modules/corex/doc/corex_admin.xml
+++ b/src/modules/corex/doc/corex_admin.xml
@@ -664,6 +664,34 @@ via_add_srv("1");
...
via_add_xavp_params("1");
...
+</programlisting>
+ </example>
+ </section>
+ <section id="corex.f.via_use_xavp_fields">
+ <title><function
moreinfo="none">via_use_xavp_fields(flags)</function></title>
+ <para>
+ Control if fields of the xavp with the name specified by
+ xavp_via_fields global parameter are used or not to build local Via.
+
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>flags</emphasis>: 1 - use xavp fields; 0 - do not
+ use xavp fields.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>via_use_xavp_fields</function> usage</title>
+ <programlisting format="linespecific">
+...
+via_use_xavp_fields("1");
+...
</programlisting>
</example>
</section>