Update v_xml_cdr_import.php
This commit is contained in:
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user