Home > sip.js > SimpleUser > hangup
Hangup a call.
Signature:
hangup(): Promise<void>;
Returns:
Promise<void>
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.