Newer Version Available
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Represents information about a phone call.
new PhoneCall(param)
| Field | Type | Description |
|---|---|---|
| param | object | Parameters associated with a phone call. |
| param.agentStatus | string | Optional. Status of the agent on the call. |
| param.callAttributes | PhoneCallAttributes | Attributes associated with the call. The values in this object are immutable and can’t be updated by the partner. See example below. |
| param.callInfo | CallInfo | Optional. Call info using key value pairs in a JSON object. See parameter description for CallInfo. |
| param.callType | string | Optional. The type of call. One of these values: Inbound, Outbound, Callback, AddParticipant, Consult. |
| param.closeCallOnError | boolean | Optional. Whether the call was closed for an error. |
| param.contact | Contact | Optional. The call target or contact. |
| param.phoneNumber | string | Optional. The phone number associated with this call; usually an external number. |
| param.reason | string | Optional. Reason for phone call. |
| param.state | string | Optional. The state of the call. For example: ringing, connected, declined, failed. |
1callAttributes: {
2 voiceCallId: string,
3 participantType: string,
4 dialerType: string,
5 parentId: string,
6 hasSupervistorBargedIn: boolean,
7 isAutoMergeOn: boolean,
8 isConsultCall: boolean,
9 isOnHold: boolean
10}Newer Version Available