mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add a new wait column
This commit is contained in:
@@ -777,6 +777,10 @@
|
||||
echo "<th class='center shrink hide-lg-dn'>".$text['label-codecs']."</th>\n";
|
||||
$col_count++;
|
||||
}
|
||||
if ($permission['xml_cdr_wait']) {
|
||||
echo "<th class='right hide-lg-dn'>".$text['label-wait']."</th>\n";
|
||||
$col_count++;
|
||||
}
|
||||
if ($permission['xml_cdr_tta']) {
|
||||
echo "<th class='right hide-lg-dn' title=\"".$text['description-tta']."\">".$text['label-tta']."</th>\n";
|
||||
$col_count++;
|
||||
@@ -1050,13 +1054,17 @@
|
||||
if ($permission['xml_cdr_codecs']) {
|
||||
$content .= " <td class='middle right hide-lg-dn no-wrap'>".($row['read_codec'] ?? '').' / '.($row['write_codec'] ?? '')."</td>\n";
|
||||
}
|
||||
//tta (time to answer)
|
||||
if ($permission['xml_cdr_wait']) {
|
||||
$content .= " <td class='middle right hide-lg-dn'>".(!empty($row['wait']) && $row['wait'] >= 0 ? gmdate("i:s", $row['wait']) : " ")."</td>\n";
|
||||
}
|
||||
//tta (time to answer)
|
||||
if ($permission['xml_cdr_tta']) {
|
||||
$content .= " <td class='middle right hide-lg-dn'>".(!empty($row['tta']) && $row['tta'] >= 0 ? $row['tta']."s" : " ")."</td>\n";
|
||||
$content .= " <td class='middle right hide-lg-dn'>".(!empty($row['tta']) && $row['tta'] >= 0 ? $row['tta'] : " ")."</td>\n";
|
||||
}
|
||||
//pdd (post dial delay)
|
||||
if ($permission['xml_cdr_pdd']) {
|
||||
$content .= " <td class='middle right hide-lg-dn'>".number_format(escape($row['pdd_ms'])/1000,2)."s</td>\n";
|
||||
$content .= " <td class='middle right hide-lg-dn'>".number_format(escape($row['pdd_ms'])/1000,2)."</td>\n";
|
||||
}
|
||||
//mos (mean opinion score)
|
||||
if ($permission['xml_cdr_mos']) {
|
||||
|
||||
Reference in New Issue
Block a user