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

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


Module: kamailio
Branch: 5.2
Commit: bb7e84d46017a112b88fa0c4a187bb5ca7f961c5
URL: https://github.com/kamailio/kamailio/commit/bb7e84d46017a112b88fa0c4a187bb5ca7f961c5

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

---

diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml
index 67cc5d017c..447f000eb6 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