Skip to content

Commit

Permalink
Subscription functionality added
Browse files Browse the repository at this point in the history
  • Loading branch information
James Criscuolo committed Feb 28, 2014
1 parent e4cde35 commit f9ec643
Show file tree
Hide file tree
Showing 7 changed files with 352 additions and 457 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = function(grunt) {
'src/ClientContext.js',
'src/ServerContext.js',
'src/Session.js',
'src/Subscription.js',
'src/UA.js',
'src/Utils.js',
'src/SanityCheck.js',
Expand Down
2 changes: 1 addition & 1 deletion src/Dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Dialog.prototype = {
}
break;
case SIP.C.NOTIFY:
// RFC6655 3.2 Replace the dialog`s remote target URI if the request is accepted
// RFC6665 3.2 Replace the dialog`s remote target URI if the request is accepted
if(request.hasHeader('contact')) {
request.server_transaction.on('stateChanged', function(){
if (this.state === SIP.Transactions.C.STATUS_COMPLETED) {
Expand Down
Loading

0 comments on commit f9ec643

Please sign in to comment.