[sr-dev] git:master:57bd759e: nathelper: documented the use of add_rcv_param() for Contact URI case

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 24 11:59:35 CET 2018


Module: kamailio
Branch: master
Commit: 57bd759e19b07647aac3bfce673131a142d9c07a
URL: https://github.com/kamailio/kamailio/commit/57bd759e19b07647aac3bfce673131a142d9c07a

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-01-24T11:58:45+01:00

nathelper: documented the use of add_rcv_param() for Contact URI case

---

Modified: src/modules/nathelper/doc/nathelper_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/57bd759e19b07647aac3bfce673131a142d9c07a.diff
Patch: https://github.com/kamailio/kamailio/commit/57bd759e19b07647aac3bfce673131a142d9c07a.patch

---

diff --git a/src/modules/nathelper/doc/nathelper_admin.xml b/src/modules/nathelper/doc/nathelper_admin.xml
index 513c48400e..f6e061799c 100644
--- a/src/modules/nathelper/doc/nathelper_admin.xml
+++ b/src/modules/nathelper/doc/nathelper_admin.xml
@@ -554,11 +554,15 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_sdp("3");};
 		</title>
 		<para>
 		Add a received parameter to the <quote>Contact</quote> header fields
-		or the Contact URI. The parameter will contain the URI created from the
-		source IP, port, and protocol of the packet containing the SIP message.
-		The parameter can be then processed by another registrar. This is useful,
-		for example, when replicating register messages using <function>t_replicate</function>
-		function to another registrar.
+		(available for all transports) or to the Contact URI (available only
+		for UDP traffic).
+		</para>
+		<para>
+		The parameter will contain the URI created from the
+		source IP, port, and protocol (if different than UDP) of the packet
+		containing the SIP message. The parameter can be then processed by
+		another registrar. This is useful, for example, when replicating register
+		messages using <function>t_replicate</function> function to another registrar.
 		</para>
 		<para>Meaning of the parameters is as follows:</para>
 		<itemizedlist>
@@ -566,7 +570,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_sdp("3");};
 			<emphasis>flag</emphasis> - flags to indicate if the parameter
 			should be added to Contact URI or Contact header. If the flag is
 			non-zero, the parameter will be added to the Contact URI. If not
-			used or equal to zero, the parameter will go to the Contact 
+			used or equal to zero, the parameter will go to the Contact
 			header.
 			</para></listitem>
 		</itemizedlist>




More information about the sr-dev mailing list