[sr-dev] git:3.1: tm: add warning about t_newtran behaviour ( pointed out from Iñaki

Henning Westerholt henning.westerholt at 1und1.de
Mon May 16 15:24:14 CEST 2011


Module: sip-router
Branch: 3.1
Commit: 6ef54ae2cb3c5390be823707aa1ebb2008b5eaef
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6ef54ae2cb3c5390be823707aa1ebb2008b5eaef

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Mon May 16 15:22:15 2011 +0200

tm: add warning about t_newtran behaviour (pointed out from Iñaki
(cherry picked from commit 9f27cb55a1b4def4f393def6170430cbf70e6615)

---

 modules/tm/README            |    5 +++++
 modules/tm/doc/functions.xml |    6 ++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/modules/tm/README b/modules/tm/README
index 4e535bc..bf44793 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -1342,6 +1342,11 @@ t_relay();
    the only way a script can add a new transaction in an atomic way.
    Typically, it is used to deploy a UAS.
 
+Warning
+
+   Please note that the changes on the request that are made after this
+   function call will not be saved into transaction!
+
    Example 46. t_newtran usage
 ...
 if (t_newtran()) {
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index 6de270a..683a7d8 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -268,6 +268,12 @@ t_relay();
 	    is the only way a script can add a new transaction in an atomic
 	    way. Typically, it is used to deploy a UAS.
 	</para>
+	<warning>
+		<para>
+			Please note that the changes on the request that are made after this 
+			function call will not be saved into transaction!
+		</para>
+	</warning>
 	<example>
 	    <title><function>t_newtran</function> usage</title>
 	    <programlisting>




More information about the sr-dev mailing list