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";