Module: kamailio
Branch: master
Commit: 283270128427ba8c5cfe34dc0af338d976a3a8b7
URL: 
https://github.com/kamailio/kamailio/commit/283270128427ba8c5cfe34dc0af338d976a3a8b7

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-07-18T09:42:13+02:00

tm: docs for t_relay_to_proxy(...)

---

Modified: src/modules/tm/doc/functions.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/283270128427ba8c5cfe34dc0af338d976a3a8b7.diff
Patch: 
https://github.com/kamailio/kamailio/commit/283270128427ba8c5cfe34dc0af338d976a3a8b7.patch

---

diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml
index 4cd7f36ba2d..715e564e9ed 100644
--- a/src/modules/tm/doc/functions.xml
+++ b/src/modules/tm/doc/functions.xml
@@ -1739,6 +1739,30 @@ t_relay_to("0x01");
        </example>
     </section>
 
+       <section id="tm.f.t_relay_to_proxy">
+       <title>
+           <function>t_relay_to_proxy(proxy)</function>
+       </title>
+       <para>
+               Alternative function to relay the SIP request to a specific 
address,
+               with the parameter supporting variables inside it.
+       </para>
+       <para>
+               The format of the parameter is: "proto:host:port" - any of 
proto or port
+               can be omitted, along with the semicolon after or before.
+       </para>
+       <para>
+               The function can be used in REQUEST_ROUTE and FAILURE_ROUTE.
+       </para>
+       <example>
+           <title><function>t_relay_to_proxy</function> usage</title>
+           <programlisting>
+...
+t_relay_to_proxy("udp:$var(addr):5060");
+...
+           </programlisting>
+       </example>
+    </section>
 
        <section id="tm.f.t_set_no_e2e_cancel_reason">
        <title>

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to