From f420efe32d428fd228d7afb86f7cffdc77e94f7b Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 2 May 2013 03:19:38 +0000 Subject: [PATCH] Fix the Call detail records download and play ob_clean(); seems to have done the trick. --- app/recordings/recordings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php index 74be35c79d..c04a149bf8 100644 --- a/app/recordings/recordings.php +++ b/app/recordings/recordings.php @@ -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); } }