فهرست منبع

avpops: note that avp_copy() is reversing the order of the values

- reported by GH #706
Daniel-Constantin Mierla 9 سال پیش
والد
کامیت
5f2c2bb588
1فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 6 2
      modules/avpops/doc/avpops_admin.xml

+ 6 - 2
modules/avpops/doc/avpops_admin.xml

@@ -826,8 +826,12 @@ avp_check("$xavp(op=>foo[*])","fm/$xavp(op=>fm[$var(id)])/g");
 			</listitem>
 			</itemizedlist>
 			<para>
-			This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
-			BRANCH_ROUTE, LOCAL_ROUTE and ONREPLY_ROUTE.
+				NOTE: if a list of AVPs is copied/moved (flag g|G), then the order
+				of the values is reversed. Copy/move twice in order to get the same
+				order as in original list.
+			</para>
+			<para>
+			This function can be used from ANY_ROUTE.
 			</para>
 			<example>
 				<title><function>avp_copy</function> usage</title>