From f33f1139d64f6e28a000dc5f091f7415fc422642 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 21 Jun 2018 18:02:27 -0600 Subject: [PATCH] Update app_config.php --- app/destinations/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index 85f1176d19..f4c72f180e 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -34,7 +34,7 @@ $apps[$x]['destinations'][$y]['label'] = "destinations"; $apps[$x]['destinations'][$y]['name'] = "destinations"; $apps[$x]['destinations'][$y]['sql'] = "select destination_number as destination, destination_context as context, destination_description as description from v_destinations "; - $apps[$x]['destinations'][$y]['where'] = "where (domain_uuid = '\${domain_uuid}' or domain_uuid is null) and destination_type = 'outbound' and destination_enabled = 'true' "; + $apps[$x]['destinations'][$y]['where'] = "where (domain_uuid = '\${domain_uuid}' or domain_uuid is null) and (destination_type = 'outbound' or destination_type = 'local') and destination_enabled = 'true' "; $apps[$x]['destinations'][$y]['order_by'] = "destination_number asc"; $apps[$x]['destinations'][$y]['field']['uuid'] = "destination_uuid"; $apps[$x]['destinations'][$y]['field']['context'] = "destination_context";