Update v_xml_cdr_import.php
This commit is contained in:
parent
a7cde16bd0
commit
d623eae97c
|
|
@ -298,9 +298,9 @@
|
|||
}
|
||||
|
||||
//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
|
||||
$database->fields['record_path'] = $record_path.'/'.$record_name;
|
||||
$database->fields['record_path'] = $record_path;
|
||||
$database->fields['record_name'] = $record_name;
|
||||
//add to the call recordings table
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_recordings/app_config.php")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue