}
ClientTransaction clientTransaction =
transactionManager.getClientTransaction(originatingRequest);
if (clientTransaction != null) {
synchronized (clientTransaction) {
DialogState dialogState = dialog.getState();
if (dialog.EARLY.equals(dialogState)) {
initialRequestManager.createCancel(inviteWithAuth,
midDialogRequestManager, profileUri);
} else if (dialog.CONFIRMED.equals(dialogState)) {
// clientTransaction not yet removed