Update call_center_queue_edit.php

This commit is contained in:
Antonio Fernandez 2021-03-06 16:07:59 -05:00 committed by GitHub
parent 6a116dd78b
commit 0f9bacf9bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -327,7 +327,9 @@
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^".$queue_extension."$\">\n"; $dialplan_xml .= " <condition field=\"destination_number\" expression=\"^".$queue_extension."$\">\n";
$dialplan_xml .= " <action application=\"answer\" data=\"\"/>\n"; $dialplan_xml .= " <action application=\"answer\" data=\"\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"hangup_after_bridge=true\"/>\n"; $dialplan_xml .= " <action application=\"set\" data=\"hangup_after_bridge=true\"/>\n";
if ($queue_default_time_base_score != '') {
$dialplan_xml .= " <action application=\"set\" data=\"cc_base_score=".$queue_default_time_base_score."\"/>\n"; $dialplan_xml .= " <action application=\"set\" data=\"cc_base_score=".$queue_default_time_base_score."\"/>\n";
}
if ($queue_greeting_path != '') { if ($queue_greeting_path != '') {
$greeting_array = explode(':', $queue_greeting_path); $greeting_array = explode(':', $queue_greeting_path);
if (count($greeting_array) == 1) { if (count($greeting_array) == 1) {