As of August 3, 2019, new 10 digit telephone dialing in Mexico begins, with which the prefixes 01, 044 or 045 will no longer be needed to call any landline or mobile phone within the country, just dialing 10 digits will suffice.
And According to the Federal Institute of Telecommunications (Ifetel), After August 3, you will only need the area code and the local number from either landlines or cellphones.
For Calling international numbers from from Mexico, you must first dial 00, then the country code, then the city code and finally the number you want to call, as an example, if you want to dial Paris, France, it would be 00-33-1 and eight-digit number.
To call Mexico from another international location, you have to dial the access code to the international long distance service of the country where you are calling from, then the country code and the 10 digits of the number you want to call, that is, 011-52 and then the 10 digits.
Finally, if you want to call 800 numbers and generally, all non-geographic numbers by using code 01.