Prechádzať zdrojové kódy

uac: Add note about only using uac_replace once in the same request

Olle E. Johansson 12 rokov pred
rodič
commit
1c35849b76
1 zmenil súbory, kde vykonal 13 pridanie a 6 odobranie
  1. 13 6
      modules_k/uac/doc/uac_admin.xml

+ 13 - 6
modules_k/uac/doc/uac_admin.xml

@@ -19,16 +19,16 @@
 		<para>
 		<para>
 		The <acronym>UAC</acronym> (User Agent Client) module provides some basic UAC
 		The <acronym>UAC</acronym> (User Agent Client) module provides some basic UAC
 		functionalities like sending SIP requests, registering with a remote service,
 		functionalities like sending SIP requests, registering with a remote service,
-		FROM header manipulation (anonymization) and client authentication.
+		From: header manipulation (anonymization) and client authentication.
 		</para>
 		</para>
 		<para>
 		<para>
-		From version 1.5.0 it has function to send SIP message from
+		The UAC module also supports sending a SIP request from the
 		configuration file. See variable $uac_req(name) and the function
 		configuration file. See variable $uac_req(name) and the function
 		uac_req_send().
 		uac_req_send().
 		</para>
 		</para>
 		<para>
 		<para>
-		Version 3.1.0 adds database-driven SIP registration functionality. See
-		uac_reg_lookup() function and dedicated section for remote
+		In addition, the module supports database-driven SIP registration functionality. See
+		the uac_reg_lookup() function and dedicated section for remote
 		registration configuration.
 		registration configuration.
 		</para>
 		</para>
 		<para>
 		<para>
@@ -46,6 +46,13 @@
 				may be rejected.
 				may be rejected.
 			</para>
 			</para>
 			</listitem>
 			</listitem>
+			<listitem>
+			<para>
+				The <quote>uac_replace_*</quote> functions can only be run once on the same
+				SIP request. Try to save needed changes in a pseudovariable and
+				apply them once.
+			</para>
+			</listitem>
 		</itemizedlist>
 		</itemizedlist>
 	</section>
 	</section>
 
 
@@ -64,13 +71,13 @@
 			<listitem>
 			<listitem>
 			<para>
 			<para>
 				<emphasis>RR - Record-Route Module</emphasis>, but only if
 				<emphasis>RR - Record-Route Module</emphasis>, but only if
-				restore mode for FROM URI is set to <quote>auto</quote>.
+				restore mode for From: URI is set to <quote>auto</quote>.
 			</para>
 			</para>
 			</listitem>
 			</listitem>
 			<listitem>
 			<listitem>
 			<para>
 			<para>
 				<emphasis>Dialog Module</emphasis>, but only if
 				<emphasis>Dialog Module</emphasis>, but only if
-				restore mode for FROM URI is set to <quote>auto</quote> and
+				restore mode for From: URI is set to <quote>auto</quote> and
 				you want uac_replace_from or uac_replace_to to store the values
 				you want uac_replace_from or uac_replace_to to store the values
 				of the URIs as dialog variables.
 				of the URIs as dialog variables.
 			</para>
 			</para>