From 7b75aed3d0ed0d5ff91df83ab48a29a120190f23 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 22 Sep 2017 19:24:40 -0600 Subject: [PATCH] Update xml_cdr.php --- app/xml_cdr/resources/classes/xml_cdr.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index f54bc29dc6..8673738f1a 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -419,6 +419,11 @@ if (!class_exists('xml_cdr')) { $record_name = urldecode($xml->variables->record_name); $record_length = urldecode($xml->variables->billsec); } + if (strlen($xml->variables->record_session) > 0) { + $record_path = dirname(urldecode($xml->variables->record_session)); + $record_name = basename(urldecode($xml->variables->record_session)); + $record_length = urldecode($xml->variables->record_seconds); + } if (strlen($xml->variables->sofia_record_file) > 0) { $record_path = dirname(urldecode($xml->variables->sofia_record_file)); $record_name = basename(urldecode($xml->variables->sofia_record_file));