From b0bef2fc80d7af41f0fde35aacede9000554b0b5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Jun 2017 19:34:06 -0600 Subject: [PATCH] Update v_xml_cdr_import.php --- app/xml_cdr/v_xml_cdr_import.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/xml_cdr/v_xml_cdr_import.php b/app/xml_cdr/v_xml_cdr_import.php index ade8cc2b01..c9d38c06f0 100644 --- a/app/xml_cdr/v_xml_cdr_import.php +++ b/app/xml_cdr/v_xml_cdr_import.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2015 + Portions created by the Initial Developer are Copyright (C) 2008-2017 the Initial Developer. All Rights Reserved. Contributor(s): @@ -259,6 +259,14 @@ if(isset($recording_file) && !empty($recording_file)) { $database->fields['recording_file'] = $recording_file; } + if(isset($recording_file) && !empty($recording_file)) { + $database->fields['recording_name'] = $recording_file; + } + + //get the recording name + if (strlen($xml->variables->recording_name) > 0) { + $database->fields['recording_name'] = urldecode($xml->variables->recording_name); + } //dynamic cdr fields if (is_array($_SESSION['cdr']['field'])) {