From 7f6b1472e6bab880652d210307ccb0792435f464 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 9 Jun 2022 11:04:07 -0600 Subject: [PATCH] Add conference recording to CDR page. Tested and works with regular dialplan conference. --- app/xml_cdr/resources/classes/xml_cdr.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index 2a4b2a6044..fdc4e4e835 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -608,6 +608,13 @@ if (!class_exists('xml_cdr')) { $record_length = urldecode($xml->variables->duration); } } + elseif (strlen($xml->variables->conference_recording) > 0) { + $conference_recording = urldecode($xml->variables->conference_recording); + $record_path = dirname($conference_recording); + $record_name = basename($conference_recording); + $record_length = urldecode($xml->variables->duration); + } + elseif (strlen($xml->variables->current_application_data) > 0) { $commands = explode(",", urldecode($xml->variables->current_application_data)); foreach ($commands as $command) {