Iranian President Hassan Rouhani said on Wednesday there was a danger that fighting between Azeri and ethnic Armenian forces could turn into a regional war.