Update v_xml_cdr_import.php

This commit is contained in:
FusionPBX 2017-09-14 17:25:51 -05:00 committed by GitHub
parent 8eecd43225
commit d6e382d5c4
1 changed files with 27 additions and 25 deletions

View File

@ -545,6 +545,7 @@
//add the call recording
if (strlen($xml->variables->record_name) > 0 && file_exists($_SERVER["PROJECT_ROOT"]."/app/call_recordings/app_config.php")) {
if (urldecode($xml->variables->billsec) > 0) {
$x = 0;
$array['call_recordings'][$x]['call_recording_uuid'] = $uuid;
$array['call_recordings'][$x]['domain_uuid'] = $domain_uuid;
@ -573,6 +574,7 @@
$p->delete("call_recording_add", "temp");
$p->delete("call_recording_edit", "temp");
}
}
}