Revision: 6b718a5c5296
Author: Ivelin Ivanov <[email protected]>
Date: Wed Sep 25 05:26:51 2013 UTC
Log: Fixes issue 12
Handles REGISTER 407 proxy authentication challenge
http://code.google.com/p/webrtcomm/source/detail?r=6b718a5c5296
Modified:
/src/WebRTComm/PrivateJainSipClientConnector.js
=======================================
--- /src/WebRTComm/PrivateJainSipClientConnector.js Fri Sep 6 08:12:39
2013 UTC
+++ /src/WebRTComm/PrivateJainSipClientConnector.js Wed Sep 25 05:26:51
2013 UTC
@@ -711,7 +711,7 @@
{
console.debug("PrivateJainSipClientConnector:processSipRegisterResponse():
1XX response ignored");
}
- else if(statusCode==401)
+ else if(statusCode==401 || statusCode = 407)
{
if(this.configuration.sipPassword!=undefined &&
this.configuration.sipLogin!=undefined)
{
@@ -817,7 +817,7 @@
{
// Not temporary response for SIP REGISTER request
}
- else if(statusCode==401)
+ else if(statusCode==401 || statusCode==401 )
{
this.sipRegisterState=this.SIP_UNREGISTERING_401_STATE;
jainSipAuthorizationHeader=this.jainSipHeaderFactory.createAuthorizationHeader(jainSipResponse,this.jainSipRegisterRequest,this.configuration.sipPassword,this.configuration.sipLogin);
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.