Signature
Parameters
None.Returns
Promise<void>
Throws
An error if there is no active session to terminate or if the termination fails.Example
With Error Handling
More Information
- startCall — start a call
- disconnect — disconnect from the SIP server after ending the call
- ended event — fires when the call ends normally
- failed event — fires when the call fails