Home > sip.js > SessionManager > decline
Decline an incoming call.
Signature:
decline(session: Session): Promise<void>;| Parameter | Type | Description |
|---|---|---|
| session | Session | Session to decline. |
Returns:
Promise<void>
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.