Fix TTA use waitsec

This commit is contained in:
FusionPBX
2025-08-05 13:24:48 -06:00
committed by GitHub
parent a3260dde54
commit ba4fb2c086

View File

@@ -366,7 +366,7 @@
if ($permission['xml_cdr_mos']) {
$sql .= "c.rtp_audio_in_mos, \n";
}
$sql .= "(c.answer_epoch - c.start_epoch) as tta ";
$sql .= "c.waitsec as tta ";
if (!empty($_REQUEST['show']) && $_REQUEST['show'] == "all" && $permission['xml_cdr_all']) {
$sql .= ", c.domain_name \n";
}