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

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


Module: kamailio
Branch: 5.3
Commit: dc322c0d24fec1a864e133bff6bb8a7a67e136b5
URL: https://github.com/kamailio/kamailio/commit/dc322c0d24fec1a864e133bff6bb8a7a67e136b5

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-11-29T19:42:37+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/dc322c0d24fec1a864e133bff6bb8a7a67e136b5.diff
Patch: https://github.com/kamailio/kamailio/commit/dc322c0d24fec1a864e133bff6bb8a7a67e136b5.patch

---

diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml
index 8ceaa6360a..82647117cd 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