From 2d5745c28346ef1474c13ad7bbecae40e9e89425 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 2 Jul 2020 16:48:07 -0600 Subject: [PATCH] Adjust the key string to match the value. --- app/xml_cdr/resources/classes/xml_cdr.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index c4ab63d667..596e36a00b 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -384,15 +384,15 @@ if (!class_exists('xml_cdr')) { $this->array[$key]['cc_queue_joined_epoch'] = urldecode($xml->variables->cc_queue_joined_epoch); $this->array[$key]['cc_queue'] = urldecode($xml->variables->cc_queue); $this->array[$key]['cc_member_session_uuid'] = urldecode($xml->variables->cc_member_session_uuid); - $this->array[$key]['cc_agent'] = urldecode($xml->variables->cc_agent_uuid); + $this->array[$key]['cc_agent_uuid'] = urldecode($xml->variables->cc_agent_uuid); $this->array[$key]['cc_agent'] = urldecode($xml->variables->cc_agent); $this->array[$key]['cc_agent_type'] = urldecode($xml->variables->cc_agent_type); - $this->array[$key]['cc_agent_type'] = urldecode($xml->variables->cc_agent_bridged); - $this->array[$key]['cc_agent_type'] = urldecode($xml->variables->cc_queue_answered_epoch); - $this->array[$key]['cc_agent_type'] = urldecode($xml->variables->cc_queue_terminated_epoch); - $this->array[$key]['cc_agent_type'] = urldecode($xml->variables->cc_queue_canceled_epoch); - $this->array[$key]['cc_agent_type'] = urldecode($xml->variables->cc_cancel_reason); - $this->array[$key]['cc_agent_type'] = urldecode($xml->variables->cc_cause); + $this->array[$key]['cc_agent_bridged'] = urldecode($xml->variables->cc_agent_bridged); + $this->array[$key]['cc_queue_answered_epoch'] = urldecode($xml->variables->cc_queue_answered_epoch); + $this->array[$key]['cc_queue_terminated_epoch'] = urldecode($xml->variables->cc_queue_terminated_epoch); + $this->array[$key]['cc_queue_canceled_epoch'] = urldecode($xml->variables->cc_queue_canceled_epoch); + $this->array[$key]['cc_cancel_reason'] = urldecode($xml->variables->cc_cancel_reason); + $this->array[$key]['cc_cause'] = urldecode($xml->variables->cc_cause); $this->array[$key]['waitsec'] = urldecode($xml->variables->waitsec); //app info