sip.js.sessionmanager.decline.md

October 20, 2022 ยท View on GitHub

Home > sip.js > SessionManager > decline

SessionManager.decline() method

Decline an incoming call.

Signature:

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

Parameters

ParameterTypeDescription
sessionSessionSession to decline.

Returns:

Promise<void>

Remarks

Reject an incoming INVITE request. Resolves with the response is sent, otherwise rejects. Use onCallHangup delegate method to determine if and when call is ended.