Status: New
Owner: ----
Labels: Component-JAIN-SIP-Javascript Type-Defect Priority-Medium
JAIN-SIP-Javascript-1.0.0.Final
New issue 109 by [email protected]: 481 Dialog Not found on BYE when
INVITE is authenticated
http://code.google.com/p/jain-sip/issues/detail?id=109
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
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.