Fetches the identifier of the line associated with this call.
Mutes or unmutes the call's local audio stream.
The local audio stream to mute or unmute.
Optional
muteType: MUTE_TYPEIdentifies if mute was triggered by system or user.
Initiates caller ID resolution for the call. callerInfo data can be retrieved later by calling getCallerInfo method.
The caller ID information to resolve.
Dials the call using the provided local audio stream.
const localAudioStream = await Calling.createMicrophoneStream({audio: true});
call.dial(localAudioStream);
The local audio stream for the call.
Answers the call using the provided local audio stream.
const localAudioStream = await Calling.createMicrophoneStream({audio: true});
call.answer(localAudioStream);
The local audio stream for the call.
Completes a call transfer.
// blind transfer
call.completeTransfer('BLIND', undefined, '5998');
// consult transfer
call.completeTransfer('CONSULT', secondCall.getCallId(), undefined);
The type of transfer to perform. Eg. BLIND or CONSULT.
Optional
transferCallId: stringThe call identifier for the transfer incase of Consult transfer (optional).
Optional
transferTarget: stringThe target for the transfer incase of Blind transfer(optional).
Represents an interface for managing call-related operations.