Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.65 KB

sip.js.invitation.md

File metadata and controls

37 lines (25 loc) · 1.65 KB

Home > sip.js > Invitation

Invitation class

An invitation is an offer to establish a Session (incoming INVITE).

Signature:

export declare class Invitation extends Session 

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Invitation class.

Properties

Property Modifiers Type Description
body string | undefined Initial incoming INVITE request message body.
localIdentity NameAddrHeader The identity of the local user.
logger Logger Logger.
remoteIdentity NameAddrHeader The identity of the remote user.
request IncomingRequestMessage Initial incoming INVITE request message.

Methods

Method Modifiers Description
accept(options) Accept the invitation.
dispose() Destructor.
progress(options) Indicate progress processing the invitation.
reject(options) Reject the invitation.