Module: kamailio Branch: master Commit: f8981605f01c755b963a9045a96e22398cca7201 URL: https://github.com/kamailio/kamailio/commit/f8981605f01c755b963a9045a96e22398cca7201
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2023-11-02T09:29:41+01:00 tm: docs for t_reply_error() function --- Modified: src/modules/tm/doc/functions.xml --- Diff: https://github.com/kamailio/kamailio/commit/f8981605f01c755b963a9045a96e22398cca7201.diff Patch: https://github.com/kamailio/kamailio/commit/f8981605f01c755b963a9045a96e22398cca7201.patch --- 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"); </example> </section> + <section id="tm.f.t_reply_error"> + <title> + <function>t_reply_error()</function> + </title> + <para> + Sends a stateful reply based in internal error code, similar to + sl_send_error() from sl module. + </para> + <para> + This function can be used from REQUEST_ROUTE. + </para> + <example> + <title><function>t_reply_error</function> usage</title> + <programlisting> +... +t_reply_error(); +... + </programlisting> + </example> + </section> + <section id="tm.f.t_send_reply"> <title> <function>t_send_reply(code, reason)</function> _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org