*/
if ( this.getState() != DialogState.CONFIRMED && this.getState() != DialogState.TERMINATED ) {
if (getOriginalRequestRecordRouteHeaders() != null) {
ListIterator<RecordRoute> it = getOriginalRequestRecordRouteHeaders().listIterator(getOriginalRequestRecordRouteHeaders().size());
while (it.hasPrevious()) {
RecordRoute rr = (RecordRoute) it.previous();
Route route = (Route) routeList.getFirst();
if (route != null && rr.getAddress().equals(route.getAddress())) {
routeList.removeFirst();
} else
break;
}
}