Home > sip.js > Invitation
An invitation is an offer to establish a Session (incoming INVITE).
Signature:
export declare class Invitation extends Session
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.
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. |
Method | Modifiers | Description |
---|---|---|
accept(options) | Accept the invitation. | |
dispose() | Destructor. | |
progress(options) | Indicate progress processing the invitation. | |
reject(options) | Reject the invitation. |