phone number standards
phone number standards
Bosnia and Herzegovina Phone Numbers: Format, Area Code & Validation Guide
Explore Bosnia & Herzegovina phone number formats (+387): area codes, landline/mobile structure, and validation. Includes regex patterns like ^6[0-9]{7}$ for mobile. Covers dialing codes, number portability since 2015, and CRA regulation. Ideal for developers needing 6-7 digit subscriber number details.
Bosnia and Herzegovina Phone Numbers: Format, Area Code & Validation Guide
Quick Reference Guide
- Country: Bosnia and Herzegovina
- Country Code: +387
- International Prefix: 00
- National Prefix: None
Overview
This comprehensive guide provides a detailed overview of the telephone numbering system in Bosnia and Herzegovina. It is tailored for telecom professionals, developers, and system administrators seeking precise information on number formats, dialing procedures, and regulatory frameworks.
Number Formats
General Number Structure
Bosnia and Herzegovina's phone numbers are structured based on service type, including landlines, mobile, and special services. The general format includes:
- Country Code: +387
- Area Code: 2-3 digits
- Subscriber Number: 6-7 digits
Detailed Number Formats
| Type | Format | Regular Expression | Example Numbers |
|---|---|---|---|
| Landline Numbers | (Area Code) X{6-7} | `^(2[0-9]{1,2} | 3[0-9]{1,2})\d{6,7}$` |
| Mobile Numbers | 6X{7} | ^6[0-9]{7}$ | 061234567, 063987654 |
| Toll-Free Numbers | 8X{6} | ^8[0-9]{6}$ | 800123456, 808987654 |
| Premium Rate Numbers | 9X{6} | ^9[0-9]{6}$ | 900123456, 909987654 |
| Emergency Numbers | 1XX | ^1[0-9]{2}$ | 112, 122 |
Landline Numbers
Landline numbers consist of an area code followed by a 6-7 digit subscriber number.
- Format:
(Area Code) X{6-7} - Examples: 033123456, 0359876543
Mobile Numbers
Mobile numbers start with 6 and are followed by a 7-digit subscriber number.
- Format:
6X{7} - Examples: 061234567, 063987654
Toll-Free Numbers
Toll-free numbers begin with 8 and include 6 digits.
- Format:
8X{6} - Examples: 800123456, 808987654
Premium Rate Numbers
These numbers start with 9 and are followed by 6 digits.
- Format:
9X{6} - Examples: 900123456, 909987654
Emergency Numbers
Emergency numbers are short, 3-digit codes.
- Format:
1XX - Examples: 112 (General Emergency), 122 (Police)
Dialing Procedures
Domestic Calls
- Landline to Landline: Dial the area code + subscriber number (e.g., 033123456).
- Landline to Mobile: Dial the mobile number directly (e.g., 061234567).
- Mobile to Mobile: Dial the mobile number directly (e.g., 063987654).
International Calls
- Outgoing: Dial
00+ country code + area code + subscriber number (e.g., 00 1 212 5551234 for USA). - Incoming: Dial
+387+ area code + subscriber number (e.g., +387 33 123456).
Number Portability
Implemented since 2015, number portability in Bosnia and Herzegovina allows both mobile and fixed-line numbers to be transferred between operators, enhancing competition and customer flexibility.
Major Telecom Operators and Number Ranges
| Operator | Service Type | Prefix | Number Range |
|---|---|---|---|
| BH Telecom | Fixed-Line | 033, 035 | 033XXX, 035XXX |
| BH Mobile | Mobile | 060, 061 | 060XXXXXXX, 061XXXXXXX |
| Telekom Srpske | Fixed-Line | 051, 052 | 051XXX, 052XXX |
| HT Eronet | Mobile | 063 | 063XXXXXXX |
Regulatory Body
The Communications Regulatory Agency of Bosnia and Herzegovina (CRA) oversees the telecommunications sector, ensuring compliance with international standards and managing number ranges. Visit the CRA official website for more information.
Technical Considerations
Number Allocation and Management
The CRA manages the numbering plan, allocating number ranges to operators based on service type and region. Operators distribute these numbers to subscribers.
Regular Expressions for Validation
Use these regular expressions to validate phone numbers in Bosnia and Herzegovina:
// Landline Numbers
/^(2[0-9]{1,2}|3[0-9]{1,2})\d{6,7}$/
// Mobile Numbers
/^6[0-9]{7}$/
// Toll-Free Numbers
/^8[0-9]{6}$/
// Premium Rate Numbers
/^9[0-9]{6}$/
// Emergency Numbers
/^1[0-9]{2}$/Special Cases and Restrictions
- Golden Numbers: Memorable numbers may have special allocation rules.
- Number Blocking: Certain ranges may be reserved or blocked by the CRA.
Frequently Asked Questions
What is the country code for Bosnia and Herzegovina?
The country code for Bosnia and Herzegovina is +387. This code is required when dialing into the country from abroad and precedes the area code and subscriber number.
How to dial a Bosnian landline number domestically?
To dial a Bosnian landline domestically, dial the area code followed by the 6-7 digit subscriber number. For example, if the area code is 033 and the subscriber number is 123456, you would dial 033123456.
How to call Bosnia and Herzegovina from another country?
Dial the international prefix (00), followed by Bosnia and Herzegovina's country code (+387), then the area code, and finally the subscriber number. For instance, to call a number in Sarajevo, you might dial 00 387 33 123456.
What is the format for mobile numbers in Bosnia?
Mobile numbers in Bosnia and Herzegovina begin with the digit '6' and are followed by seven more digits, totaling eight digits. Examples include 061234567 and 063987654.
What does the number portability in Bosnia mean?
Implemented in 2015, number portability allows users to switch operators while keeping their existing phone numbers, whether landline or mobile. This fosters competition and benefits consumers.
How do I validate a Bosnian phone number format?
You can validate Bosnian phone numbers using regular expressions provided in the guide. For example, for landlines use /^(2[0-9]{1,2}|3[0-9]{1,2})\d{6,7}$/ and for mobiles use /^6[0-9]{7}$/.
What is the role of CRA in Bosnia and Herzegovina telecommunications?
The Communications Regulatory Agency of Bosnia and Herzegovina (CRA) regulates the telecom sector, managing number allocation, ensuring compliance, and overseeing number portability.
Where can I find more information on Bosnia and Herzegovina telecommunications regulations?
The official website of the Communications Regulatory Agency of Bosnia and Herzegovina (CRA) provides detailed information about regulations and number management updates.
Which operator uses the 063 prefix in Bosnia and Herzegovina?
HT Eronet utilizes the 063 prefix for their mobile services in Bosnia and Herzegovina. Other prefixes are assigned to different operators like BH Telecom and BH Mobile.
What is the format for toll-free numbers in Bosnia?
Toll-free numbers in Bosnia and Herzegovina start with '8' and are followed by six digits. This allows callers to reach businesses and services without incurring charges.
How to dial emergency numbers in Bosnia and Herzegovina?
Emergency numbers in Bosnia and Herzegovina are three-digit codes starting with '1', such as 112 (general emergency) and 122 (police). These can be dialed from any phone.
What is the area code range used for landlines in Banja Luka?
The area code for Banja Luka is 051, belonging to Telekom Srpske. This is followed by a 6-7 digit subscriber number for the full landline format.