Iran and Oman are discussing a temporary transit corridor and mine-clearing for the Strait of Hormuz, but Tehran warned on Wednesday that the vital waterway will not be reopened unless the United States ends the war.