From e05de351229e12d8a94a3ac311ca916c98280e48 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 2 Dec 2020 11:54:07 -0700 Subject: [PATCH] Remove loopback for call center agent contact. --- app/extensions/app_config.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/extensions/app_config.php b/app/extensions/app_config.php index 2c2e0ec61b..b4d3f5e20e 100644 --- a/app/extensions/app_config.php +++ b/app/extensions/app_config.php @@ -48,19 +48,6 @@ $apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${description}"; $y++; $apps[$x]['destinations'][$y]['type'] = "sql"; - $apps[$x]['destinations'][$y]['label'] = "loopback"; - $apps[$x]['destinations'][$y]['name'] = "extensions"; - $apps[$x]['destinations'][$y]['sql'] = "select extension_uuid, 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']['extension_uuid'] = "extension_uuid"; - $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}/\${context}"; - $apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${description}"; - $y++; - $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "call_groups"; $apps[$x]['destinations'][$y]['name'] = "extensions"; $apps[$x]['destinations'][$y]['sql']['pgsql'] = "select distinct(unnest(string_to_array(call_group, ','))) as destination from v_extensions ";