Do you need to register your phone in Iran?

While preparing your trip to Iran, you may have heard about the fact that mobile phones bought outside of Iran need to be registered to be used on the Iranian network.