fireOnCallEnd()
Fires an event that notifies a call has ended. Use to get information or send information between an interaction log and a custom console component. This method executes when fireOnCallBegin() is called first. This method is only available in API version 31.0 or later.
| Name | Type | Description |
|---|---|---|
callObjectId | string | The object ID of the call. |
callDuration | number | Number specifying the duration of the call. |
callDisposition | string | String representing the call’s disposition, such as call successful, left voicemail, or disconnected. |
callback | function | JavaScript method called upon completion of the method. |
This method is asynchronous, so it returns its response in an object in a callback method. The response object contains the following field:
| Name | Type | Description |
|---|---|---|
success | boolean | true if firing the event is successful, false otherwise. |