Module: kamailio Branch: master Commit: 79fef7b008ea78d699b6d21eb88201a310a7ef78 URL: https://github.com/kamailio/kamailio/commit/79fef7b008ea78d699b6d21eb88201a310a7ef78
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2025-12-04T13:23:08+01:00 mtree: docs for item parameter --- Modified: src/modules/mtree/doc/mtree_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/79fef7b008ea78d699b6d21eb88201a310a7ef78.diff Patch: https://github.com/kamailio/kamailio/commit/79fef7b008ea78d699b6d21eb88201a310a7ef78.patch --- diff --git a/src/modules/mtree/doc/mtree_admin.xml b/src/modules/mtree/doc/mtree_admin.xml index 2416d8fb8d6..03099281d6f 100644 --- a/src/modules/mtree/doc/mtree_admin.xml +++ b/src/modules/mtree/doc/mtree_admin.xml @@ -285,6 +285,35 @@ modparam("mtree", "char_list", "0123456789*+") </example> </section> + <section id="mtree.p.item"> + <title><varname>item</varname> (string)</title> + <para> + Add items to a mtree. The value has to contain the tree name, prefix + and value, separated by the first character of the value. For example, + if the wanted separator is ':', then the value format is + ':tname:tprefix:tvalue'. + </para> + <para> + If parameter "char_list" has to be set, it must be done before "item". + </para> + <para> + <emphasis> + Default value is <quote></quote>. + </emphasis> + </para> + <example> + <title>Set <varname>item</varname> parameter</title> + <programlisting format="linespecific"> +... +# modparam("mtree", "item", ":tname:tprefix:tvalue") + +modparam("mtree", "item", ":mytree:12345:alice") +modparam("mtree", "item", ":mytree:54321:carol") +... +</programlisting> + </example> + </section> + <section id="mtree.p.pv_value"> <title><varname>pv_value</varname> (string)</title> <para> @@ -549,4 +578,3 @@ mt_match("mytree", "$rU", "0"); </section><!-- RPC commands --> </chapter> - _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
