Module: sip-router
Branch: master
Commit: 9f27cb55a1b4def4f393def6170430cbf70e6615
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9f27cb5…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Mon May 16 15:22:15 2011 +0200
tm: add warning about t_newtran behaviour (pointed out from Iñaki
---
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>