From a032b5794ed973301d88139c4a5b6ce638fa74ec Mon Sep 17 00:00:00 2001 From: yois615 <38441801+yois615@users.noreply.github.com> Date: Wed, 24 Nov 2021 02:02:22 -0500 Subject: [PATCH] Fix permissions on inband feature codes (#6155) Using ${sip_authorized} is not effective since the inbound call often has authorization to call into the PBX, either via ACL or registration. Instead, use ${from_user_exists} to test if this user exists on the system. We also fix a condition that the local user types *1 and the remote user receives the dial tone. --- .../conf/dialplan/085_bind_digit_action.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/dialplans/resources/switch/conf/dialplan/085_bind_digit_action.xml b/app/dialplans/resources/switch/conf/dialplan/085_bind_digit_action.xml index 91ab6ca4b1..1352817763 100644 --- a/app/dialplans/resources/switch/conf/dialplan/085_bind_digit_action.xml +++ b/app/dialplans/resources/switch/conf/dialplan/085_bind_digit_action.xml @@ -1,17 +1,19 @@ - - - + + + + + - - - - + + + +