Skip to content

Commit

Permalink
fix for un-emitted registeredFailed event
Browse files Browse the repository at this point in the history
  • Loading branch information
iwanbk committed Jan 10, 2013
1 parent 48889dc commit 94ba60d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RequestSender.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* @fileoverview Request Sender
*/
Expand Down Expand Up @@ -123,6 +122,8 @@ JsSIP.RequestSender.prototype = {
}

this.send();
} else {
this.applicant.receiveResponse(response);
}
} else {
if (this.challenged && response.status_code >= 200) {
Expand All @@ -131,4 +132,4 @@ JsSIP.RequestSender.prototype = {
this.applicant.receiveResponse(response);
}
}
};
};

0 comments on commit 94ba60d

Please sign in to comment.