Calls

class Calls

Methods for manipulating calls.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Methods for manipulating call conferences.

Functions

Link copied to clipboard
Answer an incoming call.
Link copied to clipboard
Clear the DTMF digits buffer of a call.
Link copied to clipboard
open fun close(@NonNull call: CallEvent)
Close a call.
Link copied to clipboard
Execute &clear DTMF program of a call.
Link copied to clipboard
Find a SIP header in a call.
Link copied to clipboard
Get active call(s).
Get the default incoming audio energy update period.
Get the default outgoing audio energy update period.
Link copied to clipboard
Get desired media of a call.
Link copied to clipboard
Get DTMF digits sent in a call.
Link copied to clipboard
Get waiting DTMF to dial.
Link copied to clipboard
Get incoming audio signal energy.
Get the current incoming audio energy update period.
Link copied to clipboard
Return the status line from the response to INVITE.
Link copied to clipboard
Link copied to clipboard
Get call network status.
Link copied to clipboard
Get count of calls not in terminal state.
Link copied to clipboard
Get outgoing audio signal energy.
Get the current outgoing audio energy update period.
Calculate at what intervals should the getIncomingAudioEnergy method be called for the specified incoming audio energy update period.
Calculate at what intervals should the getOutgoingAudioEnergy method be called for the specified outgoing audio energy update period.
Link copied to clipboard
Get state of a call.
Link copied to clipboard
Link copied to clipboard
open fun hangup(@NonNull call: CallEvent, @Nullable reason: String): Boolean
Hang-up a call.
Link copied to clipboard
Ignored an incoming call.
Link copied to clipboard
Check if a call is alive.
Link copied to clipboard
Check if a call is waiting for DTMF confirmation.
Link copied to clipboard
Check if a call is held.
Link copied to clipboard
Check if a call is recording.
Link copied to clipboard
Check whether a simulated microphone is running.
Link copied to clipboard
Check availability of a video stream.
Link copied to clipboard
Check if a call offers supported incoming video stream.
Link copied to clipboard
open fun rejectIncoming(@NonNull call: CallEvent, @NonNull responseCode: String, @NonNull phrase: String, @Nullable warning: String): Boolean
Reject (hang-up) an incoming call.
Link copied to clipboard

Reject / decline an incoming call.
Link copied to clipboard

Reject (hang-up) an incoming call for this device.
Link copied to clipboard
Set desired media for a call.
Link copied to clipboard
open fun setHeld(@NonNull call: CallEvent, held: Boolean)
Hold or unhold a call.
Set the current incoming audio energy update period.
Set the current incoming audio energy update period.
Link copied to clipboard
open fun setRecording(@NonNull call: CallEvent, recording: Boolean): Boolean
Set call recording.
Link copied to clipboard
Set simulated microphone.
Link copied to clipboard
Stops previously started simulated microphone.