What steps will reproduce the problem?
1. Authenticate INVITE
2. Change to tag in 200 OK
3. Wait a couple of seconds and receive a BYE
What is the expected output? What do you see instead?
481 Dialog not found response
What version of the product are you using? On what operating system?
latest
Please provide any additional information below.
I believe that first INVITE dialog receiving the 401/407 is removed while the
second is still in early stage, but the sipstack removes the early one instead.
In this case, both dialogs will have the same dialog.getEarlyDialogId() so
removeDialog removed the wrong one.
A quick and dirty fix apparently solved the problem:
SIPTransactionStack.prototype.removeDialog =function(dialog){
console.log("SIPTransactionStack.prototype.removeDialog(): id="+dialog.getDialogId())
var id = dialog.getDialogId();
var earlyId = dialog.getEarlyDialogId();
if (dialog.getState()==0 && earlyId != null) {
That's it, checking for the dialog early state dialog.getState()==0
Original issue reported on code.google.com by sergio.g...@gmail.com on 3 May 2013 at 10:19
Original issue reported on code.google.com by
sergio.g...@gmail.com
on 3 May 2013 at 10:19