addCall

suspend fun Conversation.addCall(address: String, mediaSettings: InitialCallMediaSettings = InitialCallMediaSettings(), engagementParameters: Map<String, String>? = null, isPriority: Boolean? = null): AxpResult<out Call>

Add a Call to the existing Conversation.

Parameters

address

Address of the party being called.

mediaSettings

Optional settings to control the media state for the beginning of the call.

engagementParameters

Optional additional AXP parameters for the call.

isPriority

Is the call a priority one?

Throws

if the conversation already has a call.


fun Conversation.addCall(address: String, responseHandler: ResponseHandler<Call>, mediaSettings: InitialCallMediaSettings = InitialCallMediaSettings(), engagementParameters: Map<String, String>? = null, isPriority: Boolean? = null)

Add a Call to the existing Conversation, with an asynchronous callback.

Parameters

address

Address of the party being called.

responseHandler

Callback to asynchronously receive the result of the operation.

mediaSettings

Optional settings to control the media state for the beginning of the call.

engagementParameters

Optional additional AXP parameters for the call.

isPriority

Is the call a priority one?

Throws

if the conversation already has a call.