# setRespectVoIPCalls

abstract fun setRespectVoIPCalls(onIncomingSinchCall: Boolean, duringSinchCall: Boolean = false)

Set whether or not the client should respect other VoIP calls (eg. WhatsAPP, Messenger).

#### Parameters

onIncomingSinchCall

Whether or not the client should respect other VoIP calls on incoming Sinch call. If this is set to true, incoming Sinch calls will be denied automatically if user has any other ongoing VoIP call. Defaults to false.

duringSinchCall

Whether or not the client should respect other VoIP calls during ongoing Sinch call. If set to true answering other VoIP call during ongoing Sinch call will cause Sinch call to hang up automatically. Defaults to false.