// is this a cancel on a re-invite?
if (getRequest().isInitial() == false && getRequest().getDialog() != null) {
// In case of cancel on re-invite we might immediately act on the
// cancel without waiting for the provisional response
DialogFragment dialog = getRequest().getDialog();
Dispatcher firstPathNode = dialog.getFirst();
if (firstPathNode == null) {
throw new IllegalStateException("Dialog reference for cancel on re-invite does not contain a pathnode");
}
dispatchInUOW(firstPathNode, cancel, dialog);