Skip to main content

$dialer.getCallNotConnectedReason

This method returns the reason why a call attempt was unsuccessful. The method must be used only in scripts that handle unsuccessful call attempts with the onCallNotConnected and onCallNotConnectedTechnical events.

Syntax

The method is called without arguments:

$dialer.getCallNotConnectedReason(); // => "BUSY" | "NO_ANSWER" | "TECHNICAL_ERROR"

Return value

The method returns a string with the reason.

ValueDescriptionCorresponding event
BUSYThe number is busyonCallNotConnected
NO_ANSWERThe client does not answeronCallNotConnected
TECHNICAL_ERRORA technical error occurredonCallNotConnectedTechnical