From 5ce07e65ddd3a7200f8968fc5efcd940314026fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= Date: Thu, 10 Jan 2013 08:55:15 +0100 Subject: [PATCH] Fix unauthorized request handling. Thanks @iwanbk for providing the patch. --- src/RequestSender.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/RequestSender.js b/src/RequestSender.js index 805a27789..c95ad9d46 100644 --- a/src/RequestSender.js +++ b/src/RequestSender.js @@ -123,6 +123,8 @@ JsSIP.RequestSender.prototype = { } this.send(); + } else { + this.applicant.receiveResponse(response); } } else { if (this.challenged && response.status_code >= 200) {