sip.js.session.refer.md

September 26, 2022 ยท View on GitHub

Home > sip.js > Session > refer

Session.refer() method

Proffer a Referral. Send a REFER.

Signature:

refer(referTo: URI | Session, options?: SessionReferOptions): Promise<OutgoingReferRequest>;

Parameters

ParameterTypeDescription
referToURI | SessionThe referral target. If a Session, a REFER w/Replaces is sent.
optionsSessionReferOptionsOptions bucket. See SessionReferOptions for details.

Returns:

Promise<OutgoingReferRequest>

Contents

  1. 1Session.refer() method
  2. 2Parameters