Преглед изворни кода

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

Daniel-Constantin Mierla пре 7 година
родитељ
комит
57bd759e19
1 измењених фајлова са 10 додато и 6 уклоњено
  1. 10 6
      src/modules/nathelper/doc/nathelper_admin.xml

+ 10 - 6
src/modules/nathelper/doc/nathelper_admin.xml

@@ -554,11 +554,15 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_sdp("3");};
 		</title>
 		</title>
 		<para>
 		<para>
 		Add a received parameter to the <quote>Contact</quote> header fields
 		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>
 		<para>Meaning of the parameters is as follows:</para>
 		<para>Meaning of the parameters is as follows:</para>
 		<itemizedlist>
 		<itemizedlist>
@@ -566,7 +570,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_sdp("3");};
 			<emphasis>flag</emphasis> - flags to indicate if the parameter
 			<emphasis>flag</emphasis> - flags to indicate if the parameter
 			should be added to Contact URI or Contact header. If the flag is
 			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
 			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.
 			header.
 			</para></listitem>
 			</para></listitem>
 		</itemizedlist>
 		</itemizedlist>