[sr-dev] git:master:0162a0c8: siptrace: docs for send_sock_name parameter

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 8 14:59:31 CEST 2020


Module: kamailio
Branch: master
Commit: 0162a0c85397f302f164e8b22c777beb6843fe57
URL: https://github.com/kamailio/kamailio/commit/0162a0c85397f302f164e8b22c777beb6843fe57

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-04-08T14:59:09+02:00

siptrace: docs for send_sock_name parameter

- send_sock_addr parameter name can be now used instead of
force_send_sock to suggest better its purpose (the later can still be
used)

---

Modified: src/modules/siptrace/doc/siptrace_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/0162a0c85397f302f164e8b22c777beb6843fe57.diff
Patch: https://github.com/kamailio/kamailio/commit/0162a0c85397f302f164e8b22c777beb6843fe57.patch

---

diff --git a/src/modules/siptrace/doc/siptrace_admin.xml b/src/modules/siptrace/doc/siptrace_admin.xml
index 24e305500a..cc6ead1132 100644
--- a/src/modules/siptrace/doc/siptrace_admin.xml
+++ b/src/modules/siptrace/doc/siptrace_admin.xml
@@ -449,22 +449,46 @@ modparam("siptrace", "trace_delayed", 1)
 </programlisting>
                 </example>
         </section>
-	<section id="siptrace.p.force_send_sock">
-                <title><varname>force_send_sock</varname> (str)</title>
+	<section id="siptrace.p.send_sock_name">
+                <title><varname>send_sock_name</varname> (str)</title>
+                <para>
+			The name of the local listen socket from where to send
+			the duplicated traffic via SIP or HEP. In the absence of this parameter
+			&kamailio; automatically picks an interface. It has priority over
+			'send_sock_addr' parameter.
+                </para>
+                <example>
+                <title>Set <varname>send_sock_name</varname> parameter</title>
+                <programlisting format="linespecific">
+...
+modparam("siptrace", "send_sock_name", "sock1")
+...
+</programlisting>
+                </example>
+        </section>
+	<section id="siptrace.p.send_sock_addr">
+                <title><varname>send_sock_addr</varname> (str)</title>
                 <para>
 			The local interface in the form of SIP URI from where to send
 			the duplicated traffic. In the absence of this parameter
 			&kamailio; automatically picks an interface.
                 </para>
                 <example>
-                <title>Set <varname>force_send_sock</varname> parameter</title>
+                <title>Set <varname>send_sock_addr</varname> parameter</title>
                 <programlisting format="linespecific">
 ...
-modparam("siptrace", "force_send_sock", "sip:10.1.1.2:5000")
+modparam("siptrace", "send_sock_addr", "sip:10.1.1.2:5000")
 ...
 </programlisting>
                 </example>
         </section>
+	<section id="siptrace.p.force_send_sock">
+                <title><varname>force_send_sock</varname> (str)</title>
+				<para>It is the same as 'send_sock_addr' parameter, this being
+				kept for backward compatibility when 'send_sock_name' and
+				'send_sock_addr' were introduced.</para>
+        </section>
+
 	<section id="siptrace.p.trace_init_mode">
                 <title><varname>trace_init_mode</varname> (integer)</title>
 				<para>




More information about the sr-dev mailing list