Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.01 KB

sip.js.referral.makeinviter.md

File metadata and controls

28 lines (16 loc) · 1.01 KB

Home > sip.js > Referral > makeInviter

Referral.makeInviter() method

Creates an inviter which may be used to send an out of dialog INVITE request.

Signature:

makeInviter(options?: InviterOptions): Inviter;

Parameters

Parameter Type Description
options InviterOptions Options bucket.

Returns:

Inviter

Remarks

This a helper method to create an Inviter which will execute the referral of the Session which was referred. The appropriate headers are set and the referred Session is linked to the new Session. Note that only a single instance of the Inviter will be created and returned (if called more than once a reference to the same Inviter will be returned every time).