Update v_xml_cdr_import.php

This commit is contained in:
FusionPBX
2017-10-15 11:50:09 -06:00
committed by GitHub
parent a7cde16bd0
commit d623eae97c
+2 -2
View File
@@ -298,9 +298,9 @@
} }
//add the call recording //add the call recording
if (isset($record_path) && isset($record_name) && file_exists($record_path.'/'.$record_name && $record_length > 0)) { if (isset($record_path) && isset($record_name) && file_exists($record_path.'/'.$record_name) && $record_length > 0) {
//add to the xml cdr table //add to the xml cdr table
$database->fields['record_path'] = $record_path.'/'.$record_name; $database->fields['record_path'] = $record_path;
$database->fields['record_name'] = $record_name; $database->fields['record_name'] = $record_name;
//add to the call recordings table //add to the call recordings table
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_recordings/app_config.php")) { if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_recordings/app_config.php")) {