Call
Call object is to represent a physical call object made or received by a user. Depending on your telephony integration a call object might be generated by telephony plugins like Twilio and Ameyo
At the core of it a call is defined by the following fields
fields
name | data type | type info | description |
---|---|---|---|
id | string | uuid | id of the call - auto generated |
user | string | uuid | id of the call who was handling the call on Chakra |
team | string | uuid | id of the team to which this call belongs to |
to | string | To phone number for the call | |
from | string | From phone number for the call | |
provider | string | Call provider type | |
providerCallId | string | Call provider generated id | |
providerPayload | number | Raw object around the call as provided by the provider | |
callStart | number | epoch_ms | epoch timestamp of when the call started |
callEnd | number | epoch_ms | epoch timestamp of when the call ended |
callDuration | number | Duration in seconds for the call | |
connectionStart | number | epoch_ms | epoch timestamp of when the connection started |
connectionEnd | number | epoch_ms | epoch timestamp of when the connection ended |
connectionDuration | number | Duration in seconds for the connection | |
disposedAt | number | epoch_ms | epoch timestamp of when the call was disposed |
type | string | OUTBOUND / INBOUND | |
callStatus | string | Call Status, can be one of: UNKNOWN LOGGED QUEUED RINGING IN_PROGRESS COMPLETED ANSWERED BUSY FAILED UNANSWERED REJECTED MISSED WRONG_NUM DISCONNECTED_NOT_DISPOSED DISPOSED_NOT_DISCONNECTED | |
recordingUrl | string | Recording url of the call if available | |
forTask | string | id for the associated task | |
forRecord | string | id for the associated record | |
forProcess | string | id for the associated process | |
forUser | string | id for the associated user | |
forStateTask | string | id for the associated statetask | |
forEntity | string | id fpr the associated entity | |
forProcedure | string | id for the associated procedure | |
callInitiateLocation | string | source of the initiated call | |
createdAt | number | epoch_ms | timestamp of when the call was created |
updatedAt | number | epoch_ms | timestamp of when the call was updated |
isDeleted | boolean | Indicates wether the call is deleted |