diff --git a/app/call_centers/app_defaults.php b/app/call_centers/app_defaults.php index 786dffde4e..e0765d3ac4 100644 --- a/app/call_centers/app_defaults.php +++ b/app/call_centers/app_defaults.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2018 - 2021 + Portions created by the Initial Developer are Copyright (C) 2018 - 2022 the Initial Developer. All Rights Reserved. Contributor(s): @@ -97,12 +97,12 @@ if ($domains_processed == 1) { $dialplan_xml .= " \n"; $dialplan_xml .= " \n"; $dialplan_xml .= " \n"; - $dialplan_xml .= " \n"; + $dialplan_xml .= " \n"; $dialplan_xml .= " \n"; if (is_uuid($row['call_center_queue_uuid'])) { $dialplan_xml .= " \n"; } - if (is_numeric($queue_extension)) { + if (is_numeric($row['queue_extension'])) { $dialplan_xml .= " \n"; } $dialplan_xml .= " \n"; @@ -110,10 +110,10 @@ if ($domains_processed == 1) { if ($row['queue_time_base_score_sec'] != '') { $dialplan_xml .= " \n"; } - if ($row['queue_greeting_path'] != '') { - $greeting_array = explode(':', $row['queue_greeting_path']); + if ($row['queue_greeting'] != '') { + $greeting_array = explode(':', $row['queue_greeting']); if (count($greeting_array) == 1) { - $dialplan_xml .= " \n"; + $dialplan_xml .= " \n"; } else { if ($greeting_array[0] == 'say' || $greeting_array[0] == 'tone_stream' || $greeting_array[0] == 'phrase') {