[sr-dev] git:master:17e757c9: dmq: docs for server_socket address

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 21 11:29:20 CEST 2021


Module: kamailio
Branch: master
Commit: 17e757c91e6e96f6711d9251979d81a792aaef08
URL: https://github.com/kamailio/kamailio/commit/17e757c91e6e96f6711d9251979d81a792aaef08

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-04-21T10:55:18+02:00

dmq: docs for server_socket address

---

Modified: src/modules/dmq/doc/dmq_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/17e757c91e6e96f6711d9251979d81a792aaef08.diff
Patch: https://github.com/kamailio/kamailio/commit/17e757c91e6e96f6711d9251979d81a792aaef08.patch

---

diff --git a/src/modules/dmq/doc/dmq_admin.xml b/src/modules/dmq/doc/dmq_admin.xml
index 20a2e647b3..0e749e901e 100644
--- a/src/modules/dmq/doc/dmq_admin.xml
+++ b/src/modules/dmq/doc/dmq_admin.xml
@@ -121,7 +121,12 @@ sip:192.168.40.17:5060;status=active
 	<section id="dmq.p.server_address">
 		<title><varname>server_address</varname>(str)</title>
 		<para>
-		The local server address. This is the interface over which the DMQ engine will send/receive messages.
+			The local server address. This is the addres with which the local DMQ
+			node joins the servers group to send/receive messages.
+		</para>
+		<para>
+			Note: if server_socket is not set, then this address has to match a
+			local socket, which will be used to send/receive messages.
 		</para>
 		<para>
 		<emphasis>Default value is <quote>NULL</quote>.</emphasis>
@@ -134,6 +139,28 @@ modparam("dmq", "server_address", "sip:10.0.0.20:5060")
 ...
 modparam("dmq", "server_address", "sip:10.0.0.20:5061;transport=tls")
 ...
+</programlisting>
+		</example>
+	</section>
+	<section id="dmq.p.server_socket">
+		<title><varname>server_socket</varname>(str)</title>
+		<para>
+			The local listen address. This is the interface over which the DMQ
+			engine will send/receive messages.
+		</para>
+		<para>
+			Note: if this parameter is not set, the socket to send/receice
+			messages is built from server_address parameter.
+		</para>
+		<para>
+		<emphasis>Default value is <quote>NULL</quote>.</emphasis>
+		</para>
+		<example>
+		<title>Set <varname>server_socket</varname> parameter</title>
+		<programlisting format="linespecific">
+...
+modparam("dmq", "server_socket", "udp:10.0.0.20:5060")
+...
 </programlisting>
 		</example>
 	</section>




More information about the sr-dev mailing list