0

I changed lib sipjs to jssip. I have problem on session transfer. in sipjs this look like this

session_from.refer(session_to);

How i can do this on jssip?

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
UJin
  • 5
  • 6

1 Answers1

1

From what I can tell it works very similarly. Instead of referring to the SIP.Session JsSIP has a JsSIP.RTCSession with refer:

http://jssip.net/documentation/2.0.x/api/session/

rtcsession.refer(target, options)

where the options are optional, so you end up with the same exact call.

wpp
  • 7,093
  • 4
  • 33
  • 65