diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml index 7fa0ad83e93..7bcc3a43ccf 100644 --- a/src/modules/tm/doc/functions.xml +++ b/src/modules/tm/doc/functions.xml @@ -369,6 +369,27 @@ t_reply("404", "Not found"); +
+ + <function>t_reply_error()</function> + + + Sends a stateful reply based in internal error code, similar to + sl_send_error() from sl module. + + + This function can be used from REQUEST_ROUTE. + + + <function>t_reply_error</function> usage + +... +t_reply_error(); +... + + +
+
<function>t_send_reply(code, reason)</function>