diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index 7889f1032f..d7c1e88299 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -325,7 +325,13 @@ $dialplan_xml .= " \n"; $dialplan_xml .= " \n"; if ($queue_greeting_path != '') { - $dialplan_xml .= " \n"; + $greeting_array = explode(':', $queue_greeting_path); + if (count($greeting_array) == 1) { + $dialplan_xml .= " \n"; + } + else { + $dialplan_xml .= " \n"; + } } if (strlen($queue_cid_prefix) > 0) { $dialplan_xml .= " \n";