Module: kamailio
Branch: master
Commit: c38b3585357a2200944cfd8e736f32093786350b
URL:
https://github.com/kamailio/kamailio/commit/c38b3585357a2200944cfd8e736f320…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-08-30T12:54:51+02:00
tm: docs for t_exists()
---
Modified: src/modules/tm/doc/functions.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/c38b3585357a2200944cfd8e736f320…
Patch:
https://github.com/kamailio/kamailio/commit/c38b3585357a2200944cfd8e736f320…
---
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();
</programlisting>
</example>
</section>
+
+ <section id="tm.f.t_exists">
+ <title>
+ <function>t_exists()</function>
+ </title>
+ <para>
+ Return true of the transaction for current message exists, without
+ setting the global references.
+ </para>
+ <example>
+ <title><function>t_exists</function> usage</title>
+ <programlisting>
+...
+reply_route {
+ if (!t_exists()) {
+ drop();
+ }
+}
+...
+ </programlisting>
+ </example>
+ </section>
+
</section>