Home > sip.js > SessionManager > hangup
Hangup a call.
Signature:
hangup(session: Session): Promise<void>;| Parameter | Type | Description |
|---|---|---|
| session | Session | Session to hangup. |
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 onCallHangup delegate method to determine if and when call is ended.