Revision: ca7a9b6cbfb5
Author: Jean Deruelle <[email protected]>
Date: Wed Oct 9 12:56:59 2013 UTC
Log: Fixes issue 109
http://code.google.com/p/jain-sip/source/detail?r=ca7a9b6cbfb5&repo=javascript
Modified:
/src/main/javascript/jain-sip/gov/nist/sip/stack/SIPTransactionStack.js
=======================================
--- /src/main/javascript/jain-sip/gov/nist/sip/stack/SIPTransactionStack.js
Tue Mar 12 15:26:19 2013 UTC
+++ /src/main/javascript/jain-sip/gov/nist/sip/stack/SIPTransactionStack.js
Wed Oct 9 12:56:59 2013 UTC
@@ -132,6 +132,11 @@
}
}
this.earlyDialogTable.splice(l,1);
+ //
https://bitbucket.org/telestax/telscale-rtm/issue/35/ivnite-dialog-state-machine-is-broken-when
+ // When INVITE is sent out and 407 is received, a new challenge INVITE is
sent but the Dialog gets TERMINATED from 407
+ // after linger time so 8s, so when the callee try to send BYE it gets a
481 Dialog not found
+ // l was not nullified thus a random dialog could have been
removed from the dialogTable which corresponds to the new INVITE Dialog
+ var l=null;
for(i=0;i<this.dialogTable.length;i++)
{
if(this.dialogTable[i][0]==earlyId)
@@ -154,6 +159,7 @@
}
}
if (old == dialog) {
+ var l=null;
for(i=0;i<this.dialogTable.length;i++)
{
if(this.dialogTable[i][0]==id)
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" 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.