RestComm / webrtcomm

WebRTCComm is a simple high level JavaScript WebRTC framework for Web Developers to add Real Time Communications and IM Capabilities to any website.
http://www.restcomm.com/
GNU General Public License v3.0
18 stars 21 forks source link

Consider improving received ACK handling after 200 OK in UAS #82

Open atsakiridis opened 7 years ago

atsakiridis commented 7 years ago

Scenario:

Right now UAS works as improved in #79, which means that:

But instead of that as suggested by @jaimecasero we should create a new transaction (like createServerTransaction() here), and let the dialog layer control the ACK if the ACK is for 2xx, the dialog should be there in confirmed state, ready to handle ACK.

Notice that I tried to do that when working on #79, but seems that dialog ends up being null and the web app crashes, so it seems that it needs deeper investigation to see what is going on. Also notice that the proposed design is taken from JAIN SIP for Java and it might not fit in the design of JAIN SIP JS. So it needs examination.