Update xml_cdr.php

This commit is contained in:
FusionPBX 2018-10-17 15:52:15 -06:00 committed by GitHub
parent 711e008b3a
commit 3bcd6b1f4f
1 changed files with 4 additions and 2 deletions

View File

@ -292,8 +292,10 @@ if (!class_exists('xml_cdr')) {
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) {
$caller_id_name = urldecode($row->caller_profile->caller_id_name);
if (strlen($caller_id_name) == 0) {
foreach ($xml->callflow as $row) {
$caller_id_name = urldecode($row->caller_profile->caller_id_name);
}
}
//misc