Created
September 2, 2021 10:28
-
-
Save techieanant/7526bf4589121267806a5aabc1440463 to your computer and use it in GitHub Desktop.
Attended Transfer JsSIP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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