-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small Fix. Reply '200' to a CANCEL 'before' replying 487 to the INVITE
- The order was inverted
- Loading branch information
Showing
3 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -418,6 +418,7 @@ JsSIP.UA.prototype.receiveRequest = function(request) { | |
request.reply(481); | ||
break; | ||
case JsSIP.C.CANCEL: | ||
request.reply(200); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jmillan
Author
Member
|
||
session = this.findSession(request); | ||
if(session) { | ||
session.receiveRequest(request); | ||
|
Y U REPLY 200 ALWAYS?
What about if the INVITE server transaction does not exist?