This site is no longer updated.Go to new Conversational Cloud docs

$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:

Property Type Description
status String Agent transfer status. Possible values: SUCCESS, FAIL, TIMEOUT.
hangup Boolean Call 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).
number String The phone number the call was transferred to.