From 5f2c2bb5883a43cb01140b730aa126fc5d2f58d6 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 12 Jul 2016 17:51:53 +0200 Subject: [PATCH] avpops: note that avp_copy() is reversing the order of the values - reported by GH #706 --- modules/avpops/doc/avpops_admin.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/avpops/doc/avpops_admin.xml b/modules/avpops/doc/avpops_admin.xml index 81cdc37c08e..f0004800180 100644 --- a/modules/avpops/doc/avpops_admin.xml +++ b/modules/avpops/doc/avpops_admin.xml @@ -826,8 +826,12 @@ avp_check("$xavp(op=>foo[*])","fm/$xavp(op=>fm[$var(id)])/g"); - 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. + + + This function can be used from ANY_ROUTE. <function>avp_copy</function> usage