From e6d95500fb4af2d87d525b5f733e6b9536169dcb Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 17 Apr 2020 16:43:57 -0600 Subject: [PATCH] Update app_config.php --- app/extensions/app_config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/extensions/app_config.php b/app/extensions/app_config.php index b83732025c..b8709831ee 100644 --- a/app/extensions/app_config.php +++ b/app/extensions/app_config.php @@ -51,10 +51,10 @@ $apps[$x]['destinations'][$y]['sql'] = "select extension, number_alias, user_context as context, description from v_extensions "; $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and enabled = 'true' "; $apps[$x]['destinations'][$y]['order_by'] = "number_alias, extension asc"; - //$apps[$x]['destinations'][$y]['field']['context'] = "user_context"; $apps[$x]['destinations'][$y]['field']['destination'] = "number_alias,extension"; + $apps[$x]['destinations'][$y]['field']['context'] = "user_context"; $apps[$x]['destinations'][$y]['field']['description'] = "description"; - $apps[$x]['destinations'][$y]['select_value']['user_contact'] = "loopback/\${destination}"; + $apps[$x]['destinations'][$y]['select_value']['user_contact'] = "loopback/\${destination}/\${context}"; $apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${description}"; $y++; $apps[$x]['destinations'][$y]['type'] = "sql";