master moved from 31bd5eeeb65a to 0caf1e18bb2e
2 new revisions:
Revision: 5c3637ab9851
Author: Strullu <[email protected]>
Date: Thu Oct 17 09:58:54 2013 UTC
Log: Fix defect 127: RE-INVITE request rejected in DialogFiler
http://code.google.com/p/jain-sip/source/detail?r=5c3637ab9851&repo=javascript
Revision: 0caf1e18bb2e
Author: Strullu <[email protected]>
Date: Thu Oct 17 10:00:14 2013 UTC
Log: Merge branch 'master' of
https://code.google.com/p/jain-sip.javascript
http://code.google.com/p/jain-sip/source/detail?r=0caf1e18bb2e&repo=javascript
==============================================================================
Revision: 5c3637ab9851
Author: Strullu <[email protected]>
Date: Thu Oct 17 09:58:54 2013 UTC
Log: Fix defect 127: RE-INVITE request rejected in DialogFiler
http://code.google.com/p/jain-sip/source/detail?r=5c3637ab9851&repo=javascript
Modified:
/src/main/javascript/jain-sip/gov/nist/sip/DialogFilter.js
=======================================
--- /src/main/javascript/jain-sip/gov/nist/sip/DialogFilter.js Tue Mar 12
15:26:19 2013 UTC
+++ /src/main/javascript/jain-sip/gov/nist/sip/DialogFilter.js Thu Oct 17
09:58:54 2013 UTC
@@ -387,8 +387,16 @@
}
else if (sipRequest.getMethod()=="INVITE") {
var lastTransaction = dialog == null ? null :
dialog.getInviteTransaction();
+ /*
+ * RFC 3261 Chapter 14. A UAS that receives a second INVITE
before
+ * it sends the final response to a first INVITE with a lower
CSeq
+ * sequence number on the same dialog MUST return a 500 (Server
+ * Internal Error) response to the second INVITE and MUST
include a
+ * Retry-After header field with a randomly chosen value of
between
+ * 0 and 10 seconds.
+ */
if (dialog != null && transaction != null && lastTransaction !=
null
- && sipRequest.getCSeq().getSeqNumber() >
dialog.getRemoteSeqNumber()
+ && sipRequest.getCSeq().getSeqNumber() >
lastTransaction.getCSeq()
&& lastTransaction instanceof SIPServerTransaction
&& sipProvider.isDialogErrorsAutomaticallyHandled()
&& dialog.isSequnceNumberValidation()
@@ -399,6 +407,7 @@
this.sendServerInternalErrorResponse(sipRequest, transaction);
return;
}
+
lastTransaction = (dialog == null ? null :
dialog.getLastTransaction());
if (dialog != null
&& sipProvider.isDialogErrorsAutomaticallyHandled()
==============================================================================
Revision: 0caf1e18bb2e
Author: Strullu <[email protected]>
Date: Thu Oct 17 10:00:14 2013 UTC
Log: Merge branch 'master' of
https://code.google.com/p/jain-sip.javascript
http://code.google.com/p/jain-sip/source/detail?r=0caf1e18bb2e&repo=javascript
--
---
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.