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