Module: kamailio
Branch: master
Commit: 228c9364e58620b960f9421cace59685539d384d
URL: 
https://github.com/kamailio/kamailio/commit/228c9364e58620b960f9421cace59685539d384d

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2020-04-05T10:36:16+02:00

dispatcher: docs for ds_default_sockname parameter

---

Modified: src/modules/dispatcher/doc/dispatcher_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/228c9364e58620b960f9421cace59685539d384d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/228c9364e58620b960f9421cace59685539d384d.patch

---

diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml 
b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 3a2eaaa49c..d9abd0e556 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -886,6 +886,8 @@ DEST: {
                        script <emphasis>listen</emphasis> directive is used.
                </emphasis>
                </para>
+               <para>If parameter "ds_default_sockname" is set, then this 
parameter
+               is ignored.</para>.
                <example>
                <title>Set the <quote>ds_default_socket</quote> 
parameter</title>
  <programlisting format="linespecific">
@@ -896,6 +898,32 @@ DEST: {
                </example>
        </section>
 
+       <section id="dispatcher.p.ds_default_sockname">
+               <title><varname>ds_default_sockname</varname> (str)</title>
+               <para>
+                       Default socket name to be used for sending pings and 
dispatching requests
+                       when a gateway has no send socket configured.
+               </para>
+               <para>
+               <emphasis>
+                       By default no default socket is defined, the first 
configuration
+                       script <emphasis>listen</emphasis> directive is used.
+               </emphasis>
+               </para>
+               <para>This parameter is used even if "ds_default_socket" 
parameter is set
+               (this parameter has higher priority).
+               <example>
+               <title>Set the <quote>ds_default_sockname</quote> 
parameter</title>
+ <programlisting format="linespecific">
+ ...
+ listen=udp:1.2.3.4:5060 name "sock1"
+ ...
+ modparam("dispatcher", "ds_default_sockname", "sock1")
+ ...
+ </programlisting>
+               </example>
+       </section>
+
        <section id="dispatcher.p.ds_timer_mode">
                <title><varname>ds_timer_mode</varname> (int)</title>
                <para>


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to