From f8981605f01c755b963a9045a96e22398cca7201 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 2 Nov 2023 09:29:41 +0100 Subject: [PATCH] tm: docs for t_reply_error() function --- src/modules/tm/doc/functions.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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>