From b05fd42b0c0a1f8e4212a01fa740772525766d2a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 21 Oct 2023 10:23:14 -0600 Subject: [PATCH] In the destinations array use the feature code extension for the Call Flow There are two call flow feature categories in the destination select list. One is used for routing call flows and the other is used to toggle the call flow between destinations. --- app/call_flows/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_flows/app_config.php b/app/call_flows/app_config.php index de3cb56827..43fed6dd87 100644 --- a/app/call_flows/app_config.php +++ b/app/call_flows/app_config.php @@ -49,7 +49,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 extension, call_flow_feature_code 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_feature_code as extension, call_flow_feature_code as destination, call_flow_context as context from v_call_flows "; $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_flow_feature_code is not null and call_flow_enabled = 'true' "; $apps[$x]['destinations'][$y]['order_by'] = "natural_sort(call_flow_feature_code) asc"; $apps[$x]['destinations'][$y]['field']['uuid'] = "uuid";