mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Update xml_cdr.php
This commit is contained in:
@@ -317,6 +317,12 @@ if (!class_exists('xml_cdr')) {
|
||||
//get the caller details
|
||||
$caller_id_name = urldecode($xml->variables->effective_caller_id_name);
|
||||
$caller_id_number = urldecode($xml->variables->effective_caller_id_number);
|
||||
if (isset($xml->variables->effective_caller_id_name)) {
|
||||
$caller_id_name = urldecode($xml->variables->effective_caller_id_name);
|
||||
}
|
||||
if (isset($xml->variables->effective_caller_id_number)) {
|
||||
$caller_id_number = urldecode($xml->variables->effective_caller_id_number);
|
||||
}
|
||||
$caller_id_destination = urldecode($xml->variables->caller_destination);
|
||||
foreach ($xml->callflow as $row) {
|
||||
$caller_id_number = urldecode($row->caller_profile->caller_id_number);
|
||||
|
||||
Reference in New Issue
Block a user