Registration is necessary if only you are staying for more than 30 days with an Iranian sim card on your phone.