Module: kamailio
Branch: master
Commit: 90ee1c6684495a6050e002d228a434e00274dd1b
URL: https://github.com/kamailio/kamailio/commit/90ee1c6684495a6050e002d228a434e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2025-07-21T12:42:32+02:00
sipdump: docs for parameter wait_mode
---
Modified: src/modules/sipdump/doc/sipdump_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/90ee1c6684495a6050e002d228a434e…
Patch: https://github.com/kamailio/kamailio/commit/90ee1c6684495a6050e002d228a434e…
---
diff --git a/src/modules/sipdump/doc/sipdump_admin.xml b/src/modules/sipdump/doc/sipdump_admin.xml
index 3bcdc31fc46..f8627d192b6 100644
--- a/src/modules/sipdump/doc/sipdump_admin.xml
+++ b/src/modules/sipdump/doc/sipdump_admin.xml
@@ -123,7 +123,8 @@ modparam("sipdump", "mode", 3)
<section id="sipdump.p.wait">
<title><varname>wait</varname> (int)</title>
<para>
- Wait time (microseconds) when no SIP traffic is received.
+ Wait time (microseconds) when no SIP traffic is received
+ (for wait_time = 0).
</para>
<para>
<emphasis>
@@ -136,6 +137,29 @@ modparam("sipdump", "mode", 3)
...
modparam("sipdump", "wait", 2000)
...
+</programlisting>
+ </example>
+ </section>
+ <section id="sipdump.p.wait_mode">
+ <title><varname>wait_mode</varname> (int)</title>
+ <para>
+ If set to 1, the module uses a pthread mutex and contion to signal
+ when SIP messages are available to the writer process. It should
+ use less CPU when idle (on no SIP traffic) than the default pooling
+ on timer, but be sure that the OS supports process-shared pthread
+ mutexes and conditions (latest Linux distros have support for them).
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>wait_mode</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("sipdump", "wait_mode", 1)
+...
</programlisting>
</example>
</section>
@@ -360,4 +384,3 @@ route[TCLEAN] {
</section>
</chapter>
-
Module: kamailio
Branch: master
Commit: ffbc4ba201211f06683f0ddf95a526cb59101cab
URL: https://github.com/kamailio/kamailio/commit/ffbc4ba201211f06683f0ddf95a526c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2025-07-21T12:42:32+02:00
tm: docs updated with flags parameter for t_relay_to_proxy()
---
Modified: src/modules/tm/doc/functions.xml
---
Diff: https://github.com/kamailio/kamailio/commit/ffbc4ba201211f06683f0ddf95a526c…
Patch: https://github.com/kamailio/kamailio/commit/ffbc4ba201211f06683f0ddf95a526c…
---
diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml
index 715e564e9ed..6810e4c1acf 100644
--- a/src/modules/tm/doc/functions.xml
+++ b/src/modules/tm/doc/functions.xml
@@ -1741,15 +1741,16 @@ t_relay_to("0x01");
<section id="tm.f.t_relay_to_proxy">
<title>
- <function>t_relay_to_proxy(proxy)</function>
+ <function>t_relay_to_proxy(proxy [, flags])</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.
+ The format of the proxy parameter is: "proto:host:port" - any of proto
+ or port can be omitted, along with the semicolon after or before. The
+ flags parameter is optional, with possible values like for t_relay_to().
</para>
<para>
The function can be used in REQUEST_ROUTE and FAILURE_ROUTE.