Skip to main content

$dialer.getTransferStatus

This method returns the status of transferring the call to an agent.

Syntax

The method is called without arguments:

$dialer.getTransferStatus(); // => {status: "SUCCESS", hangup: false, number: "79123456789"}

The method returns an object with the following properties:

PropertyTypeDescription
statusStringAgent transfer status. Possible values: SUCCESS, FAIL, TIMEOUT.
hangupBooleanCall termination status:
true — the customer ended the conversation.
false — the customer is still on the line and was redirected to the bot (if continueCall: true was specified when the transfer took place).
numberStringThe phone number the call was transferred to.