Good morning, I need to make attended transfers with SIP.js. Anyone succeded in this task? I can only make blind transfers right now, i found an article that reports that in version 0.7.x there is support for attended transfer trough replace command.
Make an attended transfer with SIP.js
3.9k Views Asked by CaTourist At
2
There are 2 best solutions below
0

Maybe too late, but I write answer for future. I made it in this steps:
- saved current session in other variable, for example
var holded_session = session;
- call in current session hold,
session.hold()
- make new call
ua.invite()
- make transfer
session.refer(holded_session)
Functions hold()
and unhold()
are not documented in documentation, but when you output session into console, you will see its in there.
I solved this for audio this manner