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

Henning Westerholt hw at skalatan.de
Fri Nov 29 19:40:59 CET 2019


Module: kamailio
Branch: master
Commit: f2f492bd580621dec23d0538b8785635a013497a
URL: https://github.com/kamailio/kamailio/commit/f2f492bd580621dec23d0538b8785635a013497a

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

tm: extend t_newtran docs with a note about flag behaviour

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/f2f492bd580621dec23d0538b8785635a013497a.diff
Patch: https://github.com/kamailio/kamailio/commit/f2f492bd580621dec23d0538b8785635a013497a.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