Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 774 Bytes

File metadata and controls

28 lines (16 loc) · 774 Bytes

Home > sip.js > SessionManager > hangup

SessionManager.hangup() method

Hangup a call.

Signature:

hangup(session: Session): Promise<void>;

Parameters

Parameter Type Description
session Session Session to hangup.

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 onCallHangup delegate method to determine if and when call is ended.