Format the phone number for call recordings.

This commit is contained in:
FusionPBX 2024-07-26 16:32:49 -06:00 committed by GitHub
parent cdc8a8842c
commit e7e2f73004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -293,9 +293,9 @@
echo " <td class='overflow hide-sm-dn shrink'>".escape($row['domain_name'])."</td>\n";
}
echo " <td class='hide-sm-dn shrink'>".escape($row['caller_id_name'])."</td>\n";
echo " <td class='shrink'>".escape($row['caller_id_number'])."</td>\n";
echo " <td class='hide-sm-dn shrink'>".escape($row['caller_destination'])."</td>\n";
echo " <td class='shrink'>".escape($row['destination_number'])."</td>\n";
echo " <td class='shrink'>".escape(format_phone(substr($row['caller_id_number'], 0, 20)))."</td>\n";
echo " <td class='hide-sm-dn shrink'>".escape(format_phone(substr($row['caller_destination'], 0, 20)))."</td>\n";
echo " <td class='shrink'>".escape(format_phone(substr($row['destination_number'], 0, 20)))."</td>\n";
echo " <td class='overflow hide-sm-dn nowrap'>".escape($row['call_recording_name'])."</td>\n";
if (permission_exists('call_recording_play') || permission_exists('call_recording_download')) {
echo " <td class='middle button center no-link no-wrap'>";
@ -351,4 +351,4 @@
//include the footer
require_once "resources/footer.php";
?>
?>