Handle call center variables with a value of _undef_
This commit is contained in:
parent
cf580e6c8c
commit
62b95fa690
|
|
@ -516,6 +516,11 @@ if (!class_exists('xml_cdr')) {
|
||||||
$this->array[$key]['direction'] = urldecode($xml->variables->call_direction);
|
$this->array[$key]['direction'] = urldecode($xml->variables->call_direction);
|
||||||
|
|
||||||
//call center
|
//call center
|
||||||
|
if ($xml->variables->cc_member_uuid == '_undef_') { $xml->variables->cc_member_uuid = ''; }
|
||||||
|
if ($xml->variables->cc_member_session_uuid == '_undef_') { $xml->variables->cc_member_session_uuid = ''; }
|
||||||
|
if ($xml->variables->cc_agent_uuid == '_undef_') { $xml->variables->cc_agent_uuid = ''; }
|
||||||
|
if ($xml->variables->call_center_queue_uuid == '_undef_') { $xml->variables->call_center_queue_uuid = ''; }
|
||||||
|
if ($xml->variables->cc_queue_joined_epoch == '_undef_') { $xml->variables->cc_queue_joined_epoch = ''; }
|
||||||
$this->array[$key]['cc_side'] = urldecode($xml->variables->cc_side);
|
$this->array[$key]['cc_side'] = urldecode($xml->variables->cc_side);
|
||||||
$this->array[$key]['cc_member_uuid'] = urldecode($xml->variables->cc_member_uuid);
|
$this->array[$key]['cc_member_uuid'] = urldecode($xml->variables->cc_member_uuid);
|
||||||
$this->array[$key]['cc_queue'] = urldecode($xml->variables->cc_queue);
|
$this->array[$key]['cc_queue'] = urldecode($xml->variables->cc_queue);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue