forwardToWelcomeService

abstract suspend fun forwardToWelcomeService(welcomeServiceId: String, type: ForwardType): RainbowResult<Unit>

Activate automatic call forwarding to the given welcome service and depending on the given ForwardType. Only for Cloud PBX

Return

RainbowResult callback onSuccess or onFailure

Parameters

welcomeServiceId

String the welcome service id to forward to

type

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