Check phone number activity, carrier details, line type and more.
Understanding Phone Numbers in Somalia
Quick Reference Guide
Country: Somalia
Country Code: +252
International Prefix: 00
National Prefix: 0
Overview
This comprehensive guide offers insights into Somalia's telephone numbering plan, detailing its structure, dialing procedures, and regulatory framework. Ideal for telecom professionals, developers, and business operators, this guide simplifies the complexities of Somali phone numbers.
Number Structure
Somalia's phone number system aligns with the ITU-T Recommendation E.164, using the country code +252. The number structure varies for geographic (landline) and non-geographic (mobile, special services) numbers.
General Number Structure
Country Code: +252
National Prefix: 0 (for domestic calls)
Subscriber Number Length: 5 to 8 digits, depending on the service type
Geographic Numbers (Landlines)
Geographic numbers range from 5 to 7 digits, influenced by the area code.
Format: 0X XX XXX or 0X XXX XXX
Example: 023 12345, 041 678901
Mobile Numbers
Mobile numbers start with specific prefixes and are 7 to 8 digits long.
Format: 07X XXX XXXX or 09X XXX XXXX
Example: 079 123 4567, 090 987 6543
Special Service Numbers
Special service numbers, like toll-free and premium rates, are shorter.
Format: 1XX
Example: 100 (for emergency services)
Comprehensive Number Format Table
Type
Prefix
Length
Example
Geographic (Landline)
0X
5-7 digits
023 12345
Mobile
07X, 09X
7-8 digits
079 123 4567
Special Services
1XX
3 digits
100
Regular Expressions for Validation
To validate Somali phone numbers programmatically, use these regular expressions:
Geographic Numbers
/^0[1-5][0-9]{4,6}$/
Mobile Numbers
/^0[79][0-9]{7}$/
Special Service Numbers
/^1[0-9]{2}$/
Dialing Procedures
Domestic Calls
Landline to Landline: Dial the area code followed by the subscriber number.
Example: 023 12345
Landline to Mobile: Dial the mobile prefix followed by the subscriber number.
Example: 079 123 4567
Mobile to Mobile: Dial the mobile prefix followed by the subscriber number.
Example: 079 123 4567
International Calls
Outgoing: Dial 00 followed by the country code, area code (if applicable), and subscriber number.
Example: Calling Kenya: 00 254 20 1234567
Incoming: Dial +252 followed by the local number without the leading 0.