From c38b3585357a2200944cfd8e736f32093786350b Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 30 Aug 2022 12:54:51 +0200 Subject: [PATCH] tm: docs for t_exists() --- src/modules/tm/doc/functions.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml index f9c9837fb23..db070a246d1 100644 --- a/src/modules/tm/doc/functions.xml +++ b/src/modules/tm/doc/functions.xml @@ -1907,4 +1907,27 @@ t_clean(); + +
+ + <function>t_exists()</function> + + + Return true of the transaction for current message exists, without + setting the global references. + + + <function>t_exists</function> usage + +... +reply_route { + if (!t_exists()) { + drop(); + } +} +... + + +
+