use of gov.nist.javax.sip.clientauthutils.AuthenticationHelper in project XobotOS by xamarin.
the class SipHelper method handleChallenge.
public ClientTransaction handleChallenge(ResponseEvent responseEvent, AccountManager accountManager) throws SipException {
AuthenticationHelper authenticationHelper = ((SipStackExt) mSipStack).getAuthenticationHelper(accountManager, mHeaderFactory);
ClientTransaction tid = responseEvent.getClientTransaction();
ClientTransaction ct = authenticationHelper.handleChallenge(responseEvent.getResponse(), tid, mSipProvider, 5);
if (DEBUG)
Log.d(TAG, "send request with challenge response: " + ct.getRequest());
ct.sendRequest();
return ct;
}
Aggregations