Class: PhoneCall

PhoneCall(param)

Class representing a PhoneCall.

Constructor

new PhoneCall(param)

Create a PhoneCall.
Parameters:
Name Type Description
param object
Properties
Name Type Attributes Description
callId string <optional>
The unique callId. This is a required parameter
callType CALL_TYPE <optional>
The type of the call, one of the CALL_TYPE values
contact Contact <optional>
The Call Target / Contact
state string <optional>
The state of the call, i.e. ringing, connected, declined, failed
callAttributes PhoneCallAttributes <optional>
Any additional call attributes
phoneNumber string <optional>
The phone number associated with this call (usually external number)
callInfo CallInfo <optional>
reason string <optional>
closeCallOnError boolean <optional>
agentStatus string <optional>
Source:

Classes

PhoneCall