phone number standards
phone number standards
Brazil Phone Numbers: Format, Area Code & Validation Guide
Explore Brazil's phone number formats (+55), area codes, and validation. Understand landline `(NN) NNNN-NNNN` vs. mobile `(NN) 9NNNN-NNNN` patterns. Includes regex for validation and dialing: e.g., `^\(?(1[1-9]...\)? ?9\d{4}-?\d{4}$` for mobile. Essential for developers needing E.164 compliance.
Brazil Phone Numbers: Format, Area Code & Validation Guide
Quick Reference
- Country: Brazil
- Country Code: +55
- International Prefix: 00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)
- National Prefix: 0
- Regulatory Body: ANATEL (Ag??ncia Nacional de Telecomunica????es)
- ITU-T Standard: E.164
Overview
This guide offers a comprehensive analysis of Brazil's telephone numbering plan, detailing number formats, dialing procedures, and regulatory considerations. It is essential for telecom professionals, developers, and systems administrators to understand these aspects for effective communication and system integration.
Number Structure
General Number Structure
- Country Code: +55
- Area Code: 2 digits (NN)
- Subscriber Number: 8 or 9 digits
Number Format Breakdown
| Type | Format | Example |
|---|---|---|
| Landline | (NN) NNNN-NNNN | (11) 2345-6789 |
| Mobile | (NN) 9NNNN-NNNN | (21) 91234-5678 |
| Toll-Free | 0800 NNN-NNNN | 0800 123-4567 |
| Premium Rate | 0300 NNN-NNNN or 0900 NNN-NNNN | 0300 123-4567 |
| Shared Cost | 0400 NNN-NNNN | 0400 123-4567 |
| Emergency | NNN | 190 (Police) |
Regular Expressions for Validation
- Landline:
^\(?(1[1-9]|2[12478]|3[1-578]|4[1-9]|5[1-5]|6[1-9]|7[1-9]|8[1-9]|9[1-9])\)? ?[2-5]\d{3}-?\d{4}$ - Mobile:
^\(?(1[1-9]|2[12478]|3[1-578]|4[1-9]|5[1-5]|6[1-9]|7[1-9]|8[1-9]|9[1-9])\)? ?9\d{4}-?\d{4}$ - Toll-Free:
^0800 \d{3}-?\d{4}$ - Premium Rate:
^0(?:300|900) \d{3}-?\d{4}$ - Shared Cost:
^0400 \d{3}-?\d{4}$ - Emergency:
^\d{3}$
Dialing Procedures
Domestic Calls
- Landline to Landline: Dial the area code followed by the 8-digit subscriber number. Example:
(11) 2345-6789 - Landline to Mobile: Dial the area code followed by the 9-digit subscriber number. Example:
(21) 91234-5678 - Mobile to Mobile: Dial the area code followed by the 9-digit subscriber number. Example:
(31) 98765-4321
International Calls
- Outgoing from Brazil: Dial
00followed by the carrier code, the destination country code, and the subscriber number. Example:00 21 1 234-567-8901(to the USA) - Incoming to Brazil: Dial the international access code (e.g.,
011from the USA), followed by Brazil's country code+55, the area code, and the subscriber number. Example:+55 11 2345-6789
Number Portability
Brazil implemented mobile number portability (MNP) in 2008, allowing users to retain their mobile or fixed-line numbers when switching between service providers. This process is regulated by ANATEL, ensuring a seamless transition between carriers.
Major Telecom Operators and Number Ranges
Major Operators
- Claro
- Vivo
- TIM
- Oi
While specific number ranges assigned to each operator are not publicly disclosed, each carrier manages its own set of prefixes across different regions.
Number Allocation and Management
Regulatory Body
ANATEL is responsible for the allocation and management of phone numbers in Brazil. They ensure compliance with ITU-T recommendations and manage the national numbering plan.
Number Allocation
Numbers are allocated based on geographic regions and service types (e.g., landline, mobile, toll-free). Specific blocks are reserved for certain services, such as emergency numbers and premium rate services.
Recent Changes to the Numbering Plan
There have been no significant changes to Brazil's numbering plan in the past five years. However, the migration from iDEN to GSM/3G/4G networks has impacted the allocation and usage of mobile number ranges.
Technical Considerations
For Developers and Systems Administrators
- Validation: Implement regular expressions to validate Brazilian phone numbers based on the formats provided.
- Number Portability: Ensure systems are capable of handling number portability by querying the correct operator for a given number.
- Internationalization: When dealing with international calls, ensure proper formatting by including Brazil's country code (
+55) and removing any leading zeros from the area code or subscriber number. - Time Zones: Brazil spans multiple time zones. Ensure systems account for time zone differences when scheduling calls or sending time-sensitive messages.
Info: For the most up-to-date information on Brazil's telecommunications regulations, please consult the official website of ANATEL.
Conclusion
Understanding Brazil's telephone numbering plan is crucial for effective communication within the country and internationally. By adhering to the guidelines and formats provided in this guide, telecom professionals and developers can ensure compliance and optimize their systems for Brazilian phone numbers.
Frequently Asked Questions
What is the format for Brazil phone numbers?
Brazilian phone numbers follow specific formats based on their type. Landlines are (NN) NNNN-NNNN, mobiles are (NN) 9NNNN-NNNN, toll-free numbers are 0800 NNN-NNNN, and emergency numbers are NNN, where NN represents the two-digit area code.
How do I dial a Brazilian mobile number from the US?
Dial the international access code (011 from the USA), followed by Brazil's country code (+55), the two-digit area code, and the nine-digit subscriber number. Be sure to include the '+55' country code.
What is Brazil's country code?
Brazil's country code is +55. This code is required when dialing Brazilian numbers from international locations.
How to validate a Brazilian phone number format?
Use regular expressions to validate Brazilian phone numbers. The article provides specific regular expressions for landlines, mobiles, toll-free, premium rate, shared cost, and emergency numbers to ensure accurate validation.
What is the role of ANATEL in Brazil's phone number system?
ANATEL (Agência Nacional de Telecomunicações) is the regulatory body responsible for allocating and managing phone numbers in Brazil. They ensure compliance with international standards and manage the national numbering plan.
How do I dial a landline number within Brazil?
Dial the two-digit area code followed by the eight-digit subscriber number. For example, to dial a landline in São Paulo (area code 11), you would dial (11) NNNN-NNNN.
Why does Brazil use 9 at the beginning of mobile phone numbers?
The digit 9 distinguishes mobile numbers from landlines within Brazil's numbering plan. This helps in routing calls correctly and identifying the type of phone number being dialed.
When should I include the +55 country code for Brazil?
The +55 country code is essential when making international calls to Brazil. It's also best practice to include it even when calling within Brazil from a foreign phone.
Can I keep my Brazilian mobile number if I switch providers?
Yes, mobile number portability (MNP) has been available in Brazil since 2008. This allows users to switch service providers while keeping their existing mobile or fixed-line numbers.
What are the major telecom operators in Brazil?
Major telecom operators in Brazil include Claro, Vivo, TIM, and Oi. While they manage specific number ranges, those ranges are not publicly available.
How to dial international calls from Brazil?
To make international calls from Brazil, dial 00 followed by the carrier code, the destination country code, and the subscriber number. For instance, dialing to the USA would look like 00 21 1 NNN-NNN-NNNN.
What is the emergency number format for Brazil?
Emergency numbers in Brazil are three digits long, such as 190 for the police. These numbers do not require area codes and are designed for quick access in emergencies.