Portions created by the Initial Developer are Copyright (C) 2017-2024 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //includes files require_once dirname(__DIR__, 2) . "/resources/require.php"; require_once "resources/check_auth.php"; //check permisions if (permission_exists('xml_cdr_view')) { //access granted } else { echo "access denied"; exit; } //download if (is_uuid($_GET['id'])) { $obj = new xml_cdr; $obj->recording_uuid = $_GET['id']; $obj->binary = isset($_GET['t']) && $_GET['t'] == 'bin' ? true : false; $obj->download(); } ?>