Module: sip-router
Branch: 4.0
Commit: e7a00bb913fc24be894a668317dd2f2ac143cbed
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e7a00bb913fc24be894a668317dd2f2ac143cbed

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Wed Sep  4 11:53:28 2013 +0200

tm: updated xml docs with t_set_disable_internal_reply()

- backported from 6073949aa224ea7a973058891a88a58cc0841860

---

 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 05ca18f..9d67d8f 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -1380,6 +1380,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="t_replicate">
        <title>
            <function>t_replicate(params)</function>


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to