callSip

abstract fun callSip(sipUri: String): Call

Makes a SIP call to the user with the given sip uri. The identity should be in the form "user@server".

Return

A Call instance.

Parameters

sipUri

SIP URI to dial in to.

Throws

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

If missing a permission required to place a call.


abstract fun callSip(sipUri: String, callHeaders: Map<String, String>?): Call

Makes a SIP call to the user with the given sip uri. The identity should be in the form "user@server".

Return

A Call instance.

Parameters

sipUri

SIP URI to dial in to.

callHeaders

Headers to pass with the call.

Throws

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

If missing a permission required to place a call.


abstract fun callSip(sipUri: String, cli: String?): Call

Makes a SIP call to the user with the given sip uri. The identity should be in the form "user@server".

Return

A Call instance.

Parameters

sipUri

SIP URI to dial in to.

cli

Identifier of the caller.

Throws

If sipUri exceeds 64 characters.

If missing a permission required to place a call.


abstract fun callSip(sipUri: String, cli: String?, callHeaders: Map<String, String>?): Call

Makes a SIP call to the user with the given sip uri. The identity should be in the form "user@server".

Return

A Call instance.

Parameters

sipUri

SIP URI to dial in to.

cli

Identifier of the caller.

callHeaders

Headers to pass with the call.

Throws

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

If missing a permission required to place a call.