Module: sip-router
Branch: master
Commit: 6073949aa224ea7a973058891a88a58cc0841860
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6073949…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Aug 23 21:02:24 2013 +0200
tm: updated xml docs with t_set_disable_internal_reply()
---
modules/tm/doc/functions.xml | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index 5ee830c..464554f 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -1428,6 +1428,26 @@ route {
</example>
</section>
+ <section id="tm.f.t_set_disable_internal_reply">
+ <title>
+ <function>t_set_disable_internal_reply(0|1)</function>
+ </title>
+ <para>
+ Turn off/on sending internally a SIP reply in case of relay errors.
+ </para>
+ <example>
+ <title><function>t_set_disable_internal_reply</function>
usage</title>
+ <programlisting>
+...
+t_set_disable_internal_reply(1); # turn off sending internal reply on error
+if(!t_relay()) {
+ send_reply("500", "Server error");
+}
+...
+ </programlisting>
+ </example>
+ </section>
+
<section id="tm.f.t_replicate">
<title>
<function>t_replicate(params)</function>