[sr-dev] git:5.1:c039af87: tm: extend t_newtran docs with a note about flag behaviour

Henning Westerholt hw at skalatan.de
Fri Nov 29 19:42:00 CET 2019


Module: kamailio
Branch: 5.1
Commit: c039af8752b553c65d375a00a017820f85ead41a
URL: https://github.com/kamailio/kamailio/commit/c039af8752b553c65d375a00a017820f85ead41a

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-11-29T19:41:48+01:00

tm: extend t_newtran docs with a note about flag behaviour

(cherry picked from commit f2f492bd580621dec23d0538b8785635a013497a)

---

Modified: src/modules/tm/doc/functions.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/c039af8752b553c65d375a00a017820f85ead41a.diff
Patch: https://github.com/kamailio/kamailio/commit/c039af8752b553c65d375a00a017820f85ead41a.patch

---

diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml
index 7983de257b..af8f10ffc2 100644
--- a/src/modules/tm/doc/functions.xml
+++ b/src/modules/tm/doc/functions.xml
@@ -302,6 +302,12 @@ branch_route[1] {
 	    is the only way a script can add a new transaction in an atomic
 	    way. Typically, it is used to deploy a UAS.
 	</para>
+	<para>
+	    Note that any flag operations (e.g. for accounting) after this
+	    function has been called will be ignored. You can use the the tmx
+	    module function t_flush_flags() to flush the altered flags to the
+	    already created transaction.
+	</para>
 	<example>
 	    <title><function>t_newtran</function> usage</title>
 	    <programlisting>




More information about the sr-dev mailing list