From 2e2376829f4bf5a9f153b3b7e437a5a6ff15d8d5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 23 Jun 2022 10:25:31 -0600 Subject: [PATCH] Use the domain_name from the database. --- app/call_centers/app_defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_centers/app_defaults.php b/app/call_centers/app_defaults.php index 1292e8fb20..e3a62332b5 100644 --- a/app/call_centers/app_defaults.php +++ b/app/call_centers/app_defaults.php @@ -85,7 +85,7 @@ if ($domains_processed == 1) { //add the recording path if needed if ($row['queue_greeting'] != '') { if (file_exists($_SESSION['switch']['recordings']['dir'].'/'.$row['domain_name'].'/'.$row['queue_greeting'])) { - $queue_greeting_path = $_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/'.$row['queue_greeting']; + $queue_greeting_path = $_SESSION['switch']['recordings']['dir'].'/'.$row['domain_name'].'/'.$row['queue_greeting']; } else { $queue_greeting_path = trim($row['queue_greeting']);