Update xml_cdr.php

This commit is contained in:
FusionPBX
2018-10-17 15:52:15 -06:00
committed by GitHub
parent cbd2625bc0
commit 3a7fee84c8

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