From ef0099c6bbf8c6ecad8d13a31dfe780568907ca5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 5 Feb 2018 13:26:30 -0700 Subject: [PATCH] Update v_xml_cdr_import.php --- app/xml_cdr/v_xml_cdr_import.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/xml_cdr/v_xml_cdr_import.php b/app/xml_cdr/v_xml_cdr_import.php index 8fe664e39f..e920108fbd 100644 --- a/app/xml_cdr/v_xml_cdr_import.php +++ b/app/xml_cdr/v_xml_cdr_import.php @@ -301,6 +301,11 @@ $record_name = basename(urldecode($xml->variables->sofia_record_file)); $record_length = urldecode($xml->variables->record_seconds); } + elseif (strlen($xml->variables->cc_record_filename) > 0) { + $record_path = dirname(urldecode($xml->variables->cc_record_filename)); + $record_name = basename(urldecode($xml->variables->cc_record_filename)); + $record_length = urldecode($xml->variables->record_seconds); + } elseif (strlen($xml->variables->api_on_answer) > 0) { $command = str_replace("\n", " ", urldecode($xml->variables->api_on_answer)); $parts = explode(" ", $command);