mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 11:13:50 +00:00
Merge pull request #5791 from emaktech/patch-21
CDR - Don't Check Filesystem for Recording on Load
This commit is contained in:
@@ -762,7 +762,7 @@
|
||||
}
|
||||
//recording
|
||||
if (permission_exists('xml_cdr_recording') && (permission_exists('xml_cdr_recording_play') || permission_exists('xml_cdr_recording_download'))) {
|
||||
if ($record_path != '' && file_exists($record_path.'/'.$record_name)) {
|
||||
if ($record_path != '') {
|
||||
$content .= " <td class='middle button center no-link no-wrap'>";
|
||||
if (permission_exists('xml_cdr_recording_play')) {
|
||||
$content .= "<audio id='recording_audio_".escape($row['xml_cdr_uuid'])."' style='display: none;' preload='none' ontimeupdate=\"update_progress('".escape($row['xml_cdr_uuid'])."')\" onended=\"recording_reset('".escape($row['xml_cdr_uuid'])."');\" src=\"download.php?id=".escape($row['xml_cdr_uuid'])."&t=record\" type='".escape($record_type)."'></audio>";
|
||||
|
||||
Reference in New Issue
Block a user