From 85379c07b53bcec9946b3a9479dec03659c92791 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 4 Feb 2022 10:14:13 -0700 Subject: [PATCH] Use the alias on alias on the call_flow_context --- app/call_flows/app_config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/call_flows/app_config.php b/app/call_flows/app_config.php index 3ba9fb90c5..b38a83149f 100644 --- a/app/call_flows/app_config.php +++ b/app/call_flows/app_config.php @@ -34,14 +34,14 @@ $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "call_flow_extension"; $apps[$x]['destinations'][$y]['name'] = "call_flows"; - $apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid as uuid, call_flow_extension as destination, call_flow_context from v_call_flows "; + $apps[$x]['destinations'][$y]['sql'] = "select call_flow_name as name, call_flow_uuid as uuid, call_flow_extension as destination, 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'] = "call_flow_name asc"; $apps[$x]['destinations'][$y]['field']['call_flow_uuid'] = "call_flow_uuid"; $apps[$x]['destinations'][$y]['field']['name'] = "call_flow_name"; $apps[$x]['destinations'][$y]['field']['destination'] = "destination"; $apps[$x]['destinations'][$y]['field']['extension'] = "destination"; - $apps[$x]['destinations'][$y]['field']['context'] = "call_flow_context"; + $apps[$x]['destinations'][$y]['field']['context'] = "context"; $apps[$x]['destinations'][$y]['select_value']['dialplan'] = "transfer:\${destination} XML \${context}"; $apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination} XML \${context}"; $apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name}";