From 6cc945bb5f6d57c5c48b9e90673fb84c643f544e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 5 Apr 2017 00:11:37 -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 a549082ea1..93855d50e8 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -26,7 +26,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}' 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' 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";