From 9a6c8c68cb41904e28d9766564f02258761bf575 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 18 Dec 2023 11:03:07 -0700 Subject: [PATCH] Update call_center_queue_edit.php --- app/call_centers/call_center_queue_edit.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index 3ddb01972e..c17dd2781c 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -649,6 +649,14 @@ $call_center_queue_uuid = null; } +//set the record_template + if (empty($_SESSION['call_center']['record_name']['text'])) { + $record_template = $_SESSION['switch']['recordings']['dir']."/".$_SESSION['domain_name']."/archive/\${strftime(%Y)}/\${strftime(%b)}/\${strftime(%d)}/\${uuid}.\${record_ext}"; + } + else { + $record_template = $_SESSION['switch']['recordings']['dir']."/".$_SESSION['domain_name']."/archive/".$_SESSION['call_center']['record_name']['text']; + } + //show the content if (permission_exists('recording_play') || permission_exists('recording_download')) { echo "