Add conference recording to CDR page.

Tested and works with regular dialplan conference.
This commit is contained in:
FusionPBX 2022-06-09 11:04:07 -06:00 committed by GitHub
parent 1fa04dd8a5
commit 7f6b1472e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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) {