ringcentral / ringcentral-web-phone

RingCentral WebPhone Library for JavaScript WebRTC
https://ringcentral.github.io/ringcentral-web-phone
111 stars 77 forks source link

unhold call queue call issue #385

Open tylerlong opened 1 year ago

tylerlong commented 1 year ago
  1. Caller A calls a queue
  2. User picks it up
  3. Caller B calls a queue
  4. User picks it up and Caller A is put on hold
  5. User disconnects the call with Caller B
  6. unhold method is called for the call with Caller A
  7. unhold method resolves but the Caller A remains in hold state

Also, we noticed that the issue occurs if Caller B is answered while there is an active call with Caller A. If Caller A is put on hold and then Caller B is answered - there is no issue. Also the issue occurs ONLY when answering is handled via Autoanswer.

With 0.8.9 it does not work either. But I've made an ugly workaround: when I need to unhold a call I do it via rest api and it works

New update:

dougroutledge commented 8 months ago

This issue isn't just related the queues, any 2nd call makes a first call on hold lose remote audio, whether it be 2 calls, or a warm transfer aborted. The issue seems to be with the sip.js 0.20.0 but they fact any of this made it to production is scary.