Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 888 Bytes

sip.js.invitation.accept.md

File metadata and controls

30 lines (17 loc) · 888 Bytes

Home > sip.js > Invitation > accept

Invitation.accept() method

Accept the invitation.

Signature:

accept(options?: InvitationAcceptOptions): Promise<void>;

Parameters

Parameter Type Description
options InvitationAcceptOptions Options bucket.

Returns:

Promise<void>

Remarks

Accept the incoming INVITE request to start a Session. Replies to the INVITE request with a 200 Ok response. Resolves once the response sent, otherwise rejects.

This method may reject for a variety of reasons including the receipt of a CANCEL request before accept is able to construct a response.