Understanding Phone Numbers in San Marino

Quick Reference Guide

  • Country: San Marino
  • Country Code: +378
  • International Prefix: 00
  • National Prefix: None

Overview of San Marino's Telephone System

San Marino's telephone numbering plan is essential knowledge for businesses, developers, and telecom professionals. This guide provides a comprehensive look at the numbering structure, dialing procedures, and technical considerations for phone numbers in San Marino.

Numbering Structure

San Marino's telephone system follows ITU-T recommendations, with a structured numbering format.

General Number Format

  • Format: +378 XXXX XXXX
  • Country Code: +378
  • Subscriber Number Length: 8 digits
  • Numbering Range: 0549 XXXX to 0549 XXXX

Geographic Numbers (Landlines)

  • Format: +378 0549 XXXX
  • Area Code: 0549 (for all landlines)
  • Subscriber Number Length: 6 digits
  • Example: +378 0549 123456

Mobile Numbers

  • Format: +378 6XXX XXXX
  • Mobile Prefix: 6 (followed by a 6-digit subscriber number)
  • Subscriber Number Length: 6 digits
  • Example: +378 6161 6161

Premium Rate Numbers

  • Format: +378 7XXX XXXX
  • Premium Rate Prefix: 7 (followed by a 6-digit subscriber number)
  • Subscriber Number Length: 6 digits
  • Example: +378 7178 1789

Number Formats by Type

TypeFormatExamplePrefixLength
Geographic+378 0549 XXXX+378 0549 12345605498 digits
Mobile+378 6XXX XXXX+378 6161 616168 digits
Premium Rate+378 7XXX XXXX+378 7178 178978 digits

Regular Expressions for Number Validation

For developers and system administrators, the following regular expressions can be used to validate San Marino phone numbers:

  • Geographic Numbers (Landlines):

    ^\+378 0549 \d{6}$
    
  • Mobile Numbers:

    ^\+378 6\d{6}$
    
  • Premium Rate Numbers:

    ^\+378 7\d{6}$
    

Dialing Procedures

Domestic Calls

  • Within San Marino: Dial the 6-digit local number directly (e.g., 123456).
  • From Landline to Mobile: Dial the 6-digit mobile number directly (e.g., 616161).

International Calls

  • Outgoing: Dial 00 followed by the country code and the destination number (e.g., 00 44 20 1234 5678 for the UK).
  • Incoming: Dial +378 followed by the local number (e.g., +378 0549 123456).

Number Portability

San Marino currently does not offer number portability for mobile or landline numbers, meaning subscribers cannot retain their phone numbers when switching between different telecom operators.

Major Telecom Operators and Number Ranges

San Marino's telecom market is primarily served by the following operators:

OperatorNumber RangeService Type
Telecom Italia San Marino0549 XXXXLandline
TMS (Telecom San Marino)6XXX XXXXMobile
Premium Rate Services7XXX XXXXPremium Rate Services

ITU-T Standards and Recommendations

San Marino adheres to the ITU-T E.164 standard for international numbering plans, ensuring global interoperability and consistency in phone number formats.

Number Allocation and Management

The allocation and management of phone numbers in San Marino are overseen by the national telecommunications authority, Autorità per le Garanzie nelle Comunicazioni (AGCOM). They ensure efficient use of numbering resources and compliance with international standards.

Technical Restrictions and Special Cases

  • Golden Numbers: San Marino does not have a specific policy for golden numbers, but premium numbers may be available at higher costs.
  • Number Blocking: There are no specific restrictions on number blocking, but users should consult their telecom provider for available services.

Technical Considerations for Developers

When integrating San Marino phone numbers into applications or telecom systems, consider the following:

  1. Validation: Use the provided regular expressions to ensure accurate number validation.
  2. Formatting: Ensure that phone numbers are stored in the E.164 format (+378 XXXX XXXX) to maintain consistency and compatibility with international systems.
  3. Portability: Since number portability is not available, systems should not assume that users can retain their numbers when switching providers.

For the most up-to-date information on telecommunications regulations in San Marino, please consult the official website of the national telecommunications authority, AGCOM.