if (sipResponse.getStatusCode() / 100 == 2
&& sipResponse.getCSeq().getMethod().equals(Request.INVITE)) {
try {
Request ackRequest = sipDialog.createAck(sipResponse.getCSeq()
.getSeqNumber());
sipDialog.sendAck(ackRequest);
} catch (Exception ex) {
sipStack.getStackLogger().logError("Error creating ack", ex);
}
}
return;