diff --git a/app/call_flows/app_config.php b/app/call_flows/app_config.php index 9c908a7a4b..de3cb56827 100644 --- a/app/call_flows/app_config.php +++ b/app/call_flows/app_config.php @@ -34,7 +34,7 @@ $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "call_flows"; $apps[$x]['destinations'][$y]['name'] = "call_flows"; - $apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid, call_flow_uuid as uuid, call_flow_extension as destination, call_flow_context as context from v_call_flows "; + $apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid, call_flow_uuid as uuid, call_flow_extension as destination, call_flow_extension as extension, call_flow_context as context from v_call_flows "; $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_flow_enabled = 'true' "; $apps[$x]['destinations'][$y]['order_by'] = "natural_sort(call_flow_extension) asc"; $apps[$x]['destinations'][$y]['field']['call_flow_uuid'] = "call_flow_uuid";