forwardToVoiceMail

abstract suspend fun forwardToVoiceMail(type: ForwardType): RainbowResult<Unit>

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

Return

RainbowResult callback onSuccess or onFailure

Parameters

type

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