}
}
public void addAuthHeader(SipServletResponse response, String username,
String password) {
AuthInfo ai = new AuthInfoImpl();
Iterator<String> itr = response.getChallengeRealms();
while (itr.hasNext()) {
ai.addAuthInfo(response.getStatus(), itr.next(), username, password);
}
addAuthHeader(response, ai);
}