nethesis / dev

Nethesis issue tracker
http://www.nethesis.it
4 stars 1 forks source link

NethCTI 3: webrtc answer break in particular circumstances #5633

Closed alepolidori closed 5 years ago

alepolidori commented 5 years ago

Steps to reproduce

The problem is difficult to reproduce. It has been signaled by a customer. Making a lot of new calls to a queue and try to answer from the cti agent repeatedly, sometime cause an hangup call during the answer.

Description

This is because when the user click the answer button, a JSEP null is passed to the createAnswer api of janus.js. And this is caused by the receiving of an extenUpdate that reset the $scope.currentCall variable.

Expected behavior

To correctly answer to all the incoming calls.

Components

Cti client.

alepolidori commented 5 years ago

This bug has been used also to fix other bugs in janus-gateway component and janus.js library. https://github.com/meetecho/janus-gateway/commit/faac293aef3b1d1d5bf593379be21b3bd81d66bf https://github.com/meetecho/janus-gateway/commit/3579727c5ce573dc98a419a318e96851aa3167f2

alepolidori commented 5 years ago

Waiting for customer test

nethbot commented 5 years ago

in 7.6.1810/nethesis-testing:

nethbot commented 5 years ago

in 7.6.1810/nethesis-testing:

alepolidori commented 5 years ago

Verified by the customer

nethbot commented 5 years ago

in 7.6.1810/nethesis-updates: