@transferTarget::getConnectionStatus

Returns the status of the transfer.

Syntax:

@transferTarget::getConnectionStatus()

Parameters:

None

Returns:

(String) transferResult: the status of the transfer. Possible values are:

Example:

@transferTarget = @phone::startAttendedTransfer("433")
$transferConnected = @transferTarget::getConnectionStatus()
IF ($transferConnected == "SUCCESS")
    wait(10)
    $result = @phone::endAttendedTransfer()
    IF ($result == "SUCCESS")
      exit
    ELSE
      @phone::play("phrase", "Sorry, could not reach the other party")
    ENDIF
ELSE
    @phone::play("phrase", "Sorry, could not reach the other party")
    # Go back and replay menu options other than transfer
ENDIF