mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 19:06:37 +00:00
Fix the Call detail records download and play ob_clean(); seems to have done the trick.
This commit is contained in:
@@ -74,6 +74,7 @@ require_once "includes/paging.php";
|
||||
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
||||
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
|
||||
header("Content-Length: " . filesize($_SESSION['switch']['recordings']['dir'].'/'.base64_decode($_GET['filename'])));
|
||||
ob_clean();
|
||||
fpassthru($fd);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user