Home > sip.js > Referral > makeInviter
Creates an inviter which may be used to send an out of dialog INVITE request.
Signature:
makeInviter(options?: InviterOptions): Inviter;
Parameter | Type | Description |
---|---|---|
options | InviterOptions | Options bucket. |
Returns:
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).