mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Handle call center variables with a value of _undef_
This commit is contained in:
@@ -516,6 +516,11 @@ if (!class_exists('xml_cdr')) {
|
||||
$this->array[$key]['direction'] = urldecode($xml->variables->call_direction);
|
||||
|
||||
//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_member_uuid'] = urldecode($xml->variables->cc_member_uuid);
|
||||
$this->array[$key]['cc_queue'] = urldecode($xml->variables->cc_queue);
|
||||
|
||||
Reference in New Issue
Block a user