(Adds Iran saying it refrained from downing US plane accompanying drone, German call for crisis diplomacy, other detail)
* Trump said he wanted no war but rather dialogue -Iranians
* Response to Trump is up to Supreme Leader Khamenei - Iranian
* Trump cleared strike on Iran, then called it off -NY Times
* War fears rise after Iran shoots down U.S. military drone
* U.S. regulator bans airlines from some Iranian airspace
DUBAI, June 21 (Reuters) - Iranian officials told Reuters on Friday that Tehran had received a message from U.S. President Donald Trump warning that a U.S. attack on Iran was imminent but saying he was against war and wanted talks on a range of issues.
News of the message, delivered through Oman overnight, came shortly after the New York Times said Trump had approved military strikes against Iran on Friday over the downing of a U.S. surveillance drone, but called them off at the last minute.
"In his message, Trump said he was against any war with Iran and wanted to talk to Tehran about various issues," one of the officials told Reuters, speaking on condition of anonymity.
"He gave a short period of time to get our response but Iran's immediate response was that it is up to Supreme Leader (Ayatollah Ali) Khamenei to decide about this issue."
A second Iranian official said: "We made it clear that the leader is against any talks, but the message will be conveyed to him to make a decision.
"However, we told the Omani official that any attack against Iran will have regional and international consequences."
Khamenei has the last say on all state matters and has ruled out any talks with Washington while Tehran is under sanctions.
After weeks of festering tension amidst a spate of attacks on oil tankers in the Gulf region, Iran said on Thursday it had shot down an unmanned U.S. military surveillance drone with a surface-to-air missile.
Trump indicated after the drone's downing that he was not eager to escalate a stand-off with Iran over its nuclear and ballistic missile activities and support for proxies in various Middle East conflicts.
He said the unmanned drone might have been shot down in error by someone who was acting "loose and stupid", though added: "This country will not stand for it."
The incident aggravated global fears of direct military confrontation between the longtime foes, and oil prices rose a further $1 per barrel to above $65.50 on Friday due to worries about possible disruptions to crude exports from the Gulf.
The New York Times quoted a senior administration official as saying U.S. warplanes took to the air and ships were put in position for a retaliatory attack on Iran, only for an order to come to stand down without any weapons being fired.
Targets had included Iranian radar and missile batteries, the paper cited senior administration officials involved in, or briefed on, the deliberations, as saying.
The strikes were set for early in the day to minimize risk to the Iranian military or to civilians, the Times added, and it was unclear if attacks on Iran might go ahead later.
Keyvan Khosravi, a spokesman for Iran's Supreme National Security Council, denied that Tehran had received a message from Trump via Oman, according to state broadcaster IRIB.
U.S. STOKING DANGER, RUSSIA SAYS
Russia accused the United States of deliberately stoking dangerous tensions around Iran and pushing the situation to the brink of war, and urged all sides to show restraint.
Russian Deputy Foreign Minister Sergei Ryabkov called on Washington to weigh the possible consequences of conflict and said the Times report showed the situation was extremely dangerous.
Some global airlines re-routed flights to avoid Iran-controlled airspace over the Strait of Hormuz and Gulf of Oman after the U.S. Federal Aviation Administration barred American carriers from the region until further notice.
Tensions with Iran have increased since Trump's withdrawal last year from the 2015 nuclear accord with Iran, signed by six world powers including the United States. Trump has denounced it as flawed to Tehran's advantage.
Washington then imposed fresh sanctions to throttle Iran's vital oil trade and Iran retaliated earlier this week by threatening to breach limits on its uranium enrichment programme set by the nuclear deal.
The sanctions have pounded Iran's economy, scuttled its vital oil exports and barred it from the dollar-dominated global finance system, dimming the promise of a trade bonanza for Tehran for having curbed its nuclear capabilities under U.N. monitoring.
IRAN FIRES BACK
Iran said it shot down the unarmed Global Hawk surveillance drone while it was spying over part of its coastal territory, and state television on Friday showed what it said were retrieved sections of the aircraft.
Washington said the drone was downed over international airspace in the Strait of Hormuz. Independent confirmation of the drone's location when it was brought down was not immediately available.
An Iranian Revolutionary Guards commander said on Friday that a manned U.S. military P-8 Poseidon reconnaissance jet accompanied the drone into Iranian airspace but Tehran refrained from shooting it down as well, according to Tasnim news agency.
The drone's destruction exacerbated tensions in the Gulf, a critical artery for global oil supplies where six tankers have been damaged by explosions in the past six weeks.
Iran denies U.S. and Saudi accusations it was behind the tanker attacks and accused Washington of "warmongering".
"The U.S. wants the current Iranian regime to come to the negotiating table and to stop their support for terrorism, pursuit of ballistic missiles, nuclear program cover-ups and human rights abuses," tweeted U.S. Ambassador to Germany Richard Grenell. "Our European partners share these goals."
They have sought to keep the nuclear deal alive despite the U.S. exit, but Tehran has told them and other world powers who signed the accord that they must rein in Trump's aggressive stance towards Iran or it too will bow out of the deal.
"We are concerned about the situation and support diplomatic negotiations, a political solution for a very tense situation," German Chancellor Angela Merkel told reporters on Friday.
( Additional reporting by Babak Dehghanpisheh in Geneva, Jamie Freed in Singapore, David Shepardson in Washington and Tom Westbrook in Sydney, Tom Balmforth in Moscow, Roberta Rampton and Phil Stewart in Washington, Sabine Siebold in Brussels; Writing by Mark Heinrich; Editing by Jon Boyle)