Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.31 KB

sip.js.referral.md

File metadata and controls

35 lines (23 loc) · 1.31 KB

Home > sip.js > Referral

Referral class

A request to establish a Session elsewhere (incoming REFER).

Signature:

export declare class Referral 

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 Referral class.

Properties

Property Modifiers Type Description
referredBy string | undefined
referTo NameAddrHeader
replaces string | undefined
request IncomingRequestMessage Incoming REFER request message.

Methods

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.