Same logic as v_xml_cdr_import.php (#3048)

This commit is contained in:
Luis Daniel Lucio Quiroz 2018-06-09 11:30:02 -04:00 committed by FusionPBX
parent 4ed7d11183
commit 483cf5542d
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ if (!class_exists('xml_cdr')) {
$caller_id_name = urldecode($xml->variables->effective_caller_id_name);
$caller_id_number = urldecode($xml->variables->effective_caller_id_number);
$caller_id_destination = urldecode($xml->variables->caller_destination);
if (strlen($caller_id_number) == 0) foreach ($xml->callflow as $row) {
foreach ($xml->callflow as $row) {
$caller_id_number = urldecode($row->caller_profile->caller_id_number);
}
if (strlen($caller_id_name) == 0) foreach ($xml->callflow as $row) {