Iranian President Mahmoud Ahmadinejad on Sunday sharply criticized the film mocking Islam that has sparked deadly anti-American protests in the Muslim world, but also called for restraint.