The US president says he’s open to having a dialogue with Iran and has sought to downplay fears of military conflict.