Skip to content
Permalink
Browse files

Fixed failure causes in 'registrationFailed' UA event.

  • Loading branch information
jmillan committed Nov 14, 2012
1 parent b635078 commit 0c91285b13624aa456ca1bc80eb5b3fbf41e24c5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Registrator.js
@@ -160,14 +160,14 @@ JsSIP.Registrator.prototype = {
* @private
*/
this.onRequestTimeout = function() {
this.registrationFailure(null, JsSIP.c.REQUEST_TIMEOUT);
this.registrationFailure(null, JsSIP.c.causes.REQUEST_TIMEOUT);
};

/**
* @private
*/
this.onTransportError = function() {
this.registrationFailure(null, JsSIP.c.CONNECTION_ERROR);
this.registrationFailure(null, JsSIP.c.causes.CONNECTION_ERROR);
};

request_sender.send();

0 comments on commit 0c91285

Please sign in to comment.
You can’t perform that action at this time.