From d319c449c8c15334ed913633cfece869a7d955aa Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 22 Nov 2017 19:15:16 +0100 Subject: [PATCH] dialog: proper description of is_in_profile() to match the code - reported by GH #1320 --- src/modules/dialog/doc/dialog_admin.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/modules/dialog/doc/dialog_admin.xml b/src/modules/dialog/doc/dialog_admin.xml index e0041f75edd..4e7a654b2fe 100644 --- a/src/modules/dialog/doc/dialog_admin.xml +++ b/src/modules/dialog/doc/dialog_admin.xml @@ -1608,11 +1608,12 @@ unset_dlg_profile("caller","$fu"); Checks if the current dialog belongs to a profile. If the profile - supports values, the check can be reinforced to take into account a - specific value, if the dialog was inserted into the profile for a - specific value. If no value is passed, only the membership of - the dialog in the profile per se is checked. Note that if the profile does - not support values, the value parameter will be silently discarded. + is defined with values, then the check is also matching with the + specific value provided as parameter. + + + Note that if the profile is not defined with support for values, the + value parameter will be silently discarded. Meaning of the parameters is as follows: @@ -1623,13 +1624,13 @@ unset_dlg_profile("caller","$fu"); value (optional) - string value to - further restrict the check. Pseudo-variables are supported. + be matched during the check. Pseudo-variables are supported. This function can be used from REQUEST_ROUTE, BRANCH_ROUTE, - REPLY_ROUTE and FAILURE_ROUTE. + REPLY_ROUTE and FAILURE_ROUTE. <function>is_in_profile</function> usage