Update v_xml_cdr_import.php

This commit is contained in:
FusionPBX 2018-07-02 21:01:37 -06:00 committed by GitHub
parent 9abdee1419
commit f6b3a6f035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@
$record_path = $path;
$record_name = $bridge_uuid.'.wav';
$record_length = urldecode($xml->variables->duration);
} elseif (file_exists($record_path.'/'.$bridge_uuid.'.mp3')) {
} elseif (file_exists($path.'/'.$bridge_uuid.'.mp3')) {
$record_path = $path;
$record_name = $bridge_uuid.'.mp3';
$record_length = urldecode($xml->variables->duration);
@ -370,7 +370,7 @@
$record_path = $path;
$record_name = $uuid.'.wav';
$record_length = urldecode($xml->variables->duration);
} elseif (file_exists($record_path.'/'.$uuid.'.mp3')) {
} elseif (file_exists($path.'/'.$uuid.'.mp3')) {
$record_path = $path;
$record_name = $uuid.'.mp3';
$record_length = urldecode($xml->variables->duration);