浏览代码

tmx: added note to t_continue() docs about failure context of executed route block

Daniel-Constantin Mierla 8 年之前
父节点
当前提交
29635011f9
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      modules/tmx/doc/tmx_admin.xml

+ 10 - 0
modules/tmx/doc/tmx_admin.xml

@@ -379,6 +379,11 @@ if(t_suspend())
 				pseudo-variables.
 			</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>
@@ -388,6 +393,11 @@ if(t_suspend())
 ...
 t_continue('123', '456', 'MYROUTE');
 ...
+route[MYROUTE] {
+  xlog("executed by t continue\n");
+  ...
+}
+...
 </programlisting>
 		</example>
 	</section>