Add cc_export_vars to the call center dialplan.

This commit is contained in:
FusionPBX
2021-05-10 15:50:34 -06:00
committed by GitHub
parent 17c7c2c69b
commit f99d9198c8

View File

@@ -105,6 +105,7 @@ if ($domains_processed == 1) {
if (is_numeric($queue_extension)) {
$dialplan_xml .= " <action application=\"set\" data=\"queue_extension=".$row['queue_extension']."\"/>\n";
}
$dialplan_xml .= " <action application=\"set\" data=\"cc_export_vars=call_center_queue_uuid\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"hangup_after_bridge=true\"/>\n";
if ($row['queue_time_base_score_sec'] != '') {
$dialplan_xml .= " <action application=\"set\" data=\"cc_base_score=".$row['queue_time_base_score_sec']."\"/>\n";
@@ -174,4 +175,4 @@ if ($domains_processed == 1) {
}
?>
?>