// Dialog exists but was terminated - just create and send an ACK for the OK.
// It could be late arriving.
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);
}