Webitel: Documentation

cc_agent_state_history

Description

The table stores the history of contact center Agent status changes.

Structure

column_name

data_type

description

id

bigint

Unique record identifier.

agent_id

bigint

Agent identifier key (see cc_agent).

joined_at

timestamp with time zone

Time the status started.

state

character varying

Status.

channel

character varying

Channel type – enumeration (see “channel” enumeration).

duration

interval

Time spent in the status.

payload

character varying

Additional variables in JSON format.

queue_id

bigint

Identifier of the queue.

attempt_id

bigint

Identifier of the attempt.

“channel” enumeration

name

description

call

Call

chat

Chat

task

Task