From f2362aa7aa7e25d2cdbbc20f826e4f50e7d32322 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 23 Nov 2016 22:08:33 -0700 Subject: [PATCH] Create recording_play.php Add the missing recording play file. --- app/recordings/recording_play.php | 88 +++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 app/recordings/recording_play.php diff --git a/app/recordings/recording_play.php b/app/recordings/recording_play.php new file mode 100644 index 0000000000..74fdf107e8 --- /dev/null +++ b/app/recordings/recording_play.php @@ -0,0 +1,88 @@ + + Portions created by the Initial Developer are Copyright (C) 2008-2016 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Mark J Crane +*/ + +//includes + include "root.php"; + require_once "resources/require.php"; + require_once "resources/check_auth.php"; + +//check permissions + if (permission_exists('recording_play')) { + //access granted + } + else { + echo "access denied"; + exit; + } + + $filename = base64_decode($_GET['filename']); + $type = $_GET['type']; //moh //rec + +//show the content +?> + + + + + + + + + + + + +
+ file: +
+ "; + } + else { + echo ""; + echo "\n"; + } + } + if ($file_ext == "mp3") { + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + } + ?> +
+ + +