commit | 7a8671bc57b163ae8950a1876a4707c33790904b | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Thu Apr 07 12:31:02 2011 -0700 |
committer | Jean-Baptiste Queru <jbq@google.com> | Thu Apr 07 12:31:12 2011 -0700 |
tree | 720eabd5fd655f22f8ed28f38879585b477afb89 | |
parent | 4794d8f3a9318e063cd08501ddf66fa767af0c19 [diff] | |
parent | a58e4068f86c6ca3f9771d4ec8b2665d070a170e [diff] |
Merge from gingerbread Change-Id: Ic33eb4a67fdf638f2ba192d60b6a8cf6f9c72be7
diff --git a/java/gov/nist/javax/sip/clientauthutils/AuthenticationHelperImpl.java b/java/gov/nist/javax/sip/clientauthutils/AuthenticationHelperImpl.java index aa29616..4dc39ef 100644 --- a/java/gov/nist/javax/sip/clientauthutils/AuthenticationHelperImpl.java +++ b/java/gov/nist/javax/sip/clientauthutils/AuthenticationHelperImpl.java
@@ -212,7 +212,8 @@ Hop hop = ((SIPClientTransaction) challengedTransaction).getNextHop(); SipURI sipUri = (SipURI) reoriginatedRequest.getRequestURI(); // BEGIN android-added - if ( !hop.getHost().equalsIgnoreCase(sipUri.getHost()) ) + if ( !hop.getHost().equalsIgnoreCase(sipUri.getHost()) + && !hop.equals(sipStack.getRouter(challengedRequest).getOutboundProxy()) ) // END android-added sipUri.setMAddrParam(hop.getHost()); if ( hop.getPort() != -1 ) sipUri.setPort(hop.getPort());