Browse code

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

Olle E. Johansson authored on 20/12/2012 12:44:59
Showing 1 changed files
... ...
@@ -19,16 +19,16 @@
19 19
 		<para>
20 20
 		The <acronym>UAC</acronym> (User Agent Client) module provides some basic UAC
21 21
 		functionalities like sending SIP requests, registering with a remote service,
22
-		FROM header manipulation (anonymization) and client authentication.
22
+		From: header manipulation (anonymization) and client authentication.
23 23
 		</para>
24 24
 		<para>
25
-		From version 1.5.0 it has function to send SIP message from
25
+		The UAC module also supports sending a SIP request from the
26 26
 		configuration file. See variable $uac_req(name) and the function
27 27
 		uac_req_send().
28 28
 		</para>
29 29
 		<para>
30
-		Version 3.1.0 adds database-driven SIP registration functionality. See
31
-		uac_reg_lookup() function and dedicated section for remote
30
+		In addition, the module supports database-driven SIP registration functionality. See
31
+		the uac_reg_lookup() function and dedicated section for remote
32 32
 		registration configuration.
33 33
 		</para>
34 34
 		<para>
... ...
@@ -46,6 +46,13 @@
46 46
 				may be rejected.
47 47
 			</para>
48 48
 			</listitem>
49
+			<listitem>
50
+			<para>
51
+				The <quote>uac_replace_*</quote> functions can only be run once on the same
52
+				SIP request. Try to save needed changes in a pseudovariable and
53
+				apply them once.
54
+			</para>
55
+			</listitem>
49 56
 		</itemizedlist>
50 57
 	</section>
51 58
 
... ...
@@ -64,13 +71,13 @@
64 71
 			<listitem>
65 72
 			<para>
66 73
 				<emphasis>RR - Record-Route Module</emphasis>, but only if
67
-				restore mode for FROM URI is set to <quote>auto</quote>.
74
+				restore mode for From: URI is set to <quote>auto</quote>.
68 75
 			</para>
69 76
 			</listitem>
70 77
 			<listitem>
71 78
 			<para>
72 79
 				<emphasis>Dialog Module</emphasis>, but only if
73
-				restore mode for FROM URI is set to <quote>auto</quote> and
80
+				restore mode for From: URI is set to <quote>auto</quote> and
74 81
 				you want uac_replace_from or uac_replace_to to store the values
75 82
 				of the URIs as dialog variables.
76 83
 			</para>