sinch-rtc

# callConference

abstract fun callConference(conferenceId: String): Call

Calls the conference with the given id.

#### Return

A Call instance.

#### Parameters

conferenceId

Conference ID to dial in to.

#### Throws

IllegalStateException

If SinchClient is not started.

IllegalArgumentException

If conferenceId exceeds 64 characters.

MissingPermissionException

If missing a permission required to place a call.

abstract fun callConference(conferenceId: String, cli: String?): Call

Calls the conference with the given id.

#### Return

A Call instance.

#### Parameters

conferenceId

Conference ID to dial in to.

cli

Identifier of the caller.

#### Throws

IllegalStateException

If SinchClient is not started.

IllegalArgumentException

If conferenceId exceeds 64 characters.

MissingPermissionException

If missing a permission required to place a call.

abstract fun callConference(conferenceId: String, callHeaders: Map<String, String>?): Call

Calls the conference with the given id.

#### Return

A Call instance.

#### Parameters

conferenceId

Conference ID to dial in to.

callHeaders

Headers to pass with the call.

#### Throws

IllegalStateException

If SinchClient is not started.

IllegalArgumentException

If the size of all headers strings exceeds 1024 bytes when encoded as UTF-8.

MissingPermissionException

If missing a permission required to place a call.

abstract fun callConference(conferenceId: String, cli: String?, callHeaders: Map<String, String>?): Call

Calls the conference with the given id.

#### Return

A Call instance.

#### Parameters

conferenceId

Conference ID to dial in to.

cli

Identifier of the caller.

callHeaders

Headers to pass with the call.

#### Throws

IllegalStateException

If SinchClient is not started.

IllegalArgumentException

If the size of all headers strings exceeds 1024 bytes when encoded as UTF-8.

MissingPermissionException

If missing a permission required to place a call.