Update recordings.php
This commit is contained in:
parent
d01cff7afc
commit
8c2681d520
|
|
@ -75,10 +75,6 @@
|
|||
}
|
||||
unset ($sql, $prep_statement, $result, $recording_decoded);
|
||||
}
|
||||
//if from xml_cdr, use file system
|
||||
else {
|
||||
$recording_filename = base64_decode($_GET['filename']); //xml_cdr
|
||||
}
|
||||
|
||||
// build full path
|
||||
if(substr($recording_filename,0,1) == '/'){
|
||||
|
|
@ -87,6 +83,7 @@
|
|||
$full_recording_path = $path . '/' . $recording_filename;
|
||||
}
|
||||
|
||||
//send the headers and then the data stream
|
||||
if (file_exists($full_recording_path)) {
|
||||
//content-range
|
||||
if (isset($_SERVER['HTTP_RANGE'])) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue