A request to establish a Session elsewhere (incoming REFER).
Signature:
export declare class Referral The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Referral class.
| Property | Modifiers | Type | Description |
|---|---|---|---|
| referredBy | string | undefined |
||
| referTo | NameAddrHeader |
||
| replaces | string | undefined |
||
| request | IncomingRequestMessage |
Incoming REFER request message. |
| Method | Modifiers | Description |
|---|---|---|
| accept(options) | Accept the request. | |
| makeInviter(options) | Creates an inviter which may be used to send an out of dialog INVITE request. | |
| reject(options) | Reject the request. |