Skip to content

Instantly share code, notes, and snippets.

@techieanant
Created September 2, 2021 10:28
Show Gist options
  • Save techieanant/7526bf4589121267806a5aabc1440463 to your computer and use it in GitHub Desktop.
Save techieanant/7526bf4589121267806a5aabc1440463 to your computer and use it in GitHub Desktop.
Attended Transfer JsSIP
const call1Session = callSessionList[0]; // JsSIP.RTCSession instance
const call2Session = callSessionList[1]; // JsSIP.RTCSession instance
const options = {
replaces: call2Session
};
// Finish attended transfer
call1Session.refer(call2Session.remote_identity.uri, options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment