forwardToNumber

abstract fun forwardToNumber(number: String?, internal: Boolean, type: ForwardType)

Activate automatic call forwarding to the given number and depending on the given ForwardType (BUSY or NO_ANSWER are only for Cloud PBX).

Parameters

number

String the number to forward to

internal

boolean the specify if the number is internal or external. Only used for Cloud PBX.

type

ForwardType the type of forward (IMMEDIATE, BUSY or NO_ANSWER)