From 9eb861e9714e964c5ac93f5fbe4335a5a0d64999 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 2 Jul 2018 21:01:37 -0600 Subject: [PATCH] Update v_xml_cdr_import.php --- app/xml_cdr/v_xml_cdr_import.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/xml_cdr/v_xml_cdr_import.php b/app/xml_cdr/v_xml_cdr_import.php index 9eb7a34d4f..08dd25f8cd 100644 --- a/app/xml_cdr/v_xml_cdr_import.php +++ b/app/xml_cdr/v_xml_cdr_import.php @@ -358,7 +358,7 @@ $record_path = $path; $record_name = $bridge_uuid.'.wav'; $record_length = urldecode($xml->variables->duration); - } elseif (file_exists($record_path.'/'.$bridge_uuid.'.mp3')) { + } elseif (file_exists($path.'/'.$bridge_uuid.'.mp3')) { $record_path = $path; $record_name = $bridge_uuid.'.mp3'; $record_length = urldecode($xml->variables->duration); @@ -370,7 +370,7 @@ $record_path = $path; $record_name = $uuid.'.wav'; $record_length = urldecode($xml->variables->duration); - } elseif (file_exists($record_path.'/'.$uuid.'.mp3')) { + } elseif (file_exists($path.'/'.$uuid.'.mp3')) { $record_path = $path; $record_name = $uuid.'.mp3'; $record_length = urldecode($xml->variables->duration);