You need to dial 00 first for all international calls made from Morocco.
For example: To call Turkey from Morocco, you should dial: "+212 + 90 + phone number"(90 is the country code of Turkey).