Browse code

dmq: docs for server_socket address

Daniel-Constantin Mierla authored on 21/04/2021 08:55:18
Showing 1 changed files
... ...
@@ -121,7 +121,12 @@ sip:192.168.40.17:5060;status=active
121 121
 	<section id="dmq.p.server_address">
122 122
 		<title><varname>server_address</varname>(str)</title>
123 123
 		<para>
124
-		The local server address. This is the interface over which the DMQ engine will send/receive messages.
124
+			The local server address. This is the addres with which the local DMQ
125
+			node joins the servers group to send/receive messages.
126
+		</para>
127
+		<para>
128
+			Note: if server_socket is not set, then this address has to match a
129
+			local socket, which will be used to send/receive messages.
125 130
 		</para>
126 131
 		<para>
127 132
 		<emphasis>Default value is <quote>NULL</quote>.</emphasis>
... ...
@@ -134,6 +139,28 @@ modparam("dmq", "server_address", "sip:10.0.0.20:5060")
134 139
 ...
135 140
 modparam("dmq", "server_address", "sip:10.0.0.20:5061;transport=tls")
136 141
 ...
142
+</programlisting>
143
+		</example>
144
+	</section>
145
+	<section id="dmq.p.server_socket">
146
+		<title><varname>server_socket</varname>(str)</title>
147
+		<para>
148
+			The local listen address. This is the interface over which the DMQ
149
+			engine will send/receive messages.
150
+		</para>
151
+		<para>
152
+			Note: if this parameter is not set, the socket to send/receice
153
+			messages is built from server_address parameter.
154
+		</para>
155
+		<para>
156
+		<emphasis>Default value is <quote>NULL</quote>.</emphasis>
157
+		</para>
158
+		<example>
159
+		<title>Set <varname>server_socket</varname> parameter</title>
160
+		<programlisting format="linespecific">
161
+...
162
+modparam("dmq", "server_socket", "udp:10.0.0.20:5060")
163
+...
137 164
 </programlisting>
138 165
 		</example>
139 166
 	</section>