Obama hails Iran president talks
President Barack Obama and Iranian President Hassan Rouhani spoke by telephone on Friday, the first conversation between American and Iranian presidents in more than 30 years.
The exchange could reflect a major step in resolving global concerns over Iran's nuclear programme.
Mr Obama told reporters at the White House that he had a constructive conversation with the Iranian leader.
"While there will surely be important obstacles to moving forward and success is by no means guaranteed, I believe we can reach a comprehensive solution," he said.
Mr Obama said he and Mr Rouhani have directed their teams to work quickly to pursue an agreement.
He said the US will co-ordinate closely with its allies - including Israel, which considers an Iranian nuclear weapon capability to be an existential threat.
The fact that it had been so long since American and Iranian presidents had traded words reflected the "deep mistrust between our countries," Mr Obama said.
But he added that it also indicated the opportunity for moving forward.
"I do believe there is a basis for a resolution," he said.
The conversation came hours after Mr Rouhani, wrapping up a trip to the US, called the United States a "great" nation, a sharp reversal from his predecessors that buoyed hopes that the two governments can stop the escalation of tensions.
"I want it to be the case that this trip will be a first step, and a beginning for better and constructive relations with countries of the world as well as a first step for a better relationship between the two great nations of Iran and the United States of America," Mr Rouhani told a news conference at a hotel near UN headquarters.
Mr Rouhani has pledged to reduce nuclear tensions and UN officials said they have seen encouraging signs from Tehran.
Iranian and UN officials agreed to meet again on October 28 to continue talks on how to investigate suspicions that Iran worked secretly on trying to develop nuclear weapons.
Tehran denies that it wants to build a weapon.