mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 18:33:49 +00:00
Update v_xml_cdr_import.php
This commit is contained in:
@@ -204,10 +204,10 @@
|
||||
$database->fields['context'] = $context;
|
||||
$database->fields['network_addr'] = check_str(urldecode($row->caller_profile->network_addr));
|
||||
}
|
||||
if (strlen($caller_id_name) == 0) {
|
||||
if (strlen($database->fields['caller_id_name']) == 0) {
|
||||
$database->fields['caller_id_name'] = check_str(urldecode($row->caller_profile->caller_id_name));
|
||||
}
|
||||
if (strlen($caller_id_number) == 0) {
|
||||
if (strlen($database->fields['caller_id_number']) == 0) {
|
||||
$database->fields['caller_id_number'] = check_str(urldecode($row->caller_profile->caller_id_number));
|
||||
}
|
||||
$x++;
|
||||
|
||||
Reference in New Issue
Block a user