Module: kamailio
Branch: master
Commit: 29635011f94a142fe5cde32558b8dfd095dd7820
URL:
https://github.com/kamailio/kamailio/commit/29635011f94a142fe5cde32558b8dfd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-11-17T11:01:47+01:00
tmx: added note to t_continue() docs about failure context of executed route block
---
Modified: modules/tmx/doc/tmx_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/29635011f94a142fe5cde32558b8dfd…
Patch:
https://github.com/kamailio/kamailio/commit/29635011f94a142fe5cde32558b8dfd…
---
diff --git a/modules/tmx/doc/tmx_admin.xml b/modules/tmx/doc/tmx_admin.xml
index b3a756e..95c38f6 100644
--- a/modules/tmx/doc/tmx_admin.xml
+++ b/modules/tmx/doc/tmx_admin.xml
@@ -380,6 +380,11 @@ if(t_suspend())
</para></listitem>
</itemizedlist>
<para>
+ Important note: the route[rtname] is executed in the context of
+ a failure (same behaviour for functions as they were used in a
+ failure_route block).
+ </para>
+ <para>
This function can be used in ANY_ROUTE.
</para>
<example>
@@ -388,6 +393,11 @@ if(t_suspend())
...
t_continue('123', '456', 'MYROUTE');
...
+route[MYROUTE] {
+ xlog("executed by t continue\n");
+ ...
+}
+...
</programlisting>
</example>
</section>