Skip to main content
Ends the current active call. You can end a call only after the remote party has answered it. While the call is ringing, the method fails.

Signature

Parameters

None.

Returns

Promise<void>

Throws

An error if there is no active session to terminate or if the termination fails. The error messages start with Failed to end call:, for example, Failed to end call: No active session to terminate.

Example

With Error Handling

More Information

Last modified on October 23, 2026