Use the queue uuid for the cc_queue

This commit is contained in:
markjcrane
2021-05-06 23:23:07 -06:00
parent 13b6be49c8
commit cfd70fb18f
4 changed files with 23 additions and 13 deletions

View File

@@ -178,7 +178,7 @@
$database->fields['cc_side'] = urldecode($xml->variables->cc_side);
$database->fields['cc_member_uuid'] = urldecode($xml->variables->cc_member_uuid);
$database->fields['cc_queue_joined_epoch'] = urldecode($xml->variables->cc_queue_joined_epoch);
$database->fields['cc_queue'] = urldecode($xml->variables->cc_queue);
$database->fields['cc_queue'] = urldecode($xml->variables->call_center_queue_uuid);
$database->fields['cc_member_session_uuid'] = urldecode($xml->variables->cc_member_session_uuid);
$database->fields['cc_agent_uuid'] = urldecode($xml->variables->cc_agent_uuid);
$database->fields['cc_agent'] = urldecode($xml->variables->cc_agent);
@@ -193,6 +193,9 @@
if (urldecode($xml->variables->cc_side) == 'agent') {
$database->fields['direction'] = 'inbound';
}
if (is_uuid(urldecode($xml->variables->call_center_queue_uuid))) {
$this->array[$key]['cc_queue'] = urldecode($xml->variables->call_center_queue_uuid;
}
//app info
$database->fields['last_app'] = urldecode($xml->variables->last_app);