Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 617 Bytes

sip.js.simpleuser.hangup.md

File metadata and controls

21 lines (12 loc) · 617 Bytes

Home > sip.js > SimpleUser > hangup

SimpleUser.hangup() method

Hangup a call.

Signature:

hangup(): Promise<void>;

Returns:

Promise<void>

Remarks

Send a BYE request, CANCEL request or reject response to end the current Session. Resolves when the request/response is sent, otherwise rejects. Use onCallTerminated delegate method to determine if and when call is ended.