Merge pull request #5791 from emaktech/patch-21
CDR - Don't Check Filesystem for Recording on Load
This commit is contained in:
commit
166e76bb77
|
|
@ -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>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue