phone number standards

Sent logo
Sent TeamMay 3, 2025 / phone number standards / Article

Greece Phone Numbers: Format, Area Code & Validation Guide

Greece phone number portability system integration guide for developers. Learn the architecture, API requirements, and best practices for implementing number porting in Greek telecommunications.

Greece Phone Numbers: Format, Area Code & Validation Guide

This guide covers the technical aspects of Greece's number portability system. You'll learn the architecture, implementation requirements, best practices, and consumer protection measures needed to integrate with the system and build robust, compliant applications for Greek telecommunications.

Understanding Greek Number Portability System

Number portability lets consumers and businesses retain their phone numbers when switching service providers in Greece. Both fixed-line and mobile numbers qualify, which drives competition and innovation in the telecommunications market. A centralized database system facilitates seamless transitions and ensures efficient number porting across all Greek carriers.

Number Portability Architecture and Infrastructure

The Greek number portability system uses a three-tier architecture designed for real-time updates and efficient data synchronization. This architecture ensures accurate, up-to-date number routing information across all providers in Greece's telecommunications network.

Three-Tier Architecture Breakdown

The system comprises three interconnected layers:

  1. Central Reference Database (CRDB): iconectiv's TruNumber Portability Clearinghouse powers this database, which serves as the single source of truth for all ported numbers in Greece. It stores real-time porting status, validation checks, historical records, and facilitates cross-provider synchronization. This centralized approach ensures data consistency and efficient porting request processing.

  2. Provider Databases: Each service provider maintains its own database, synchronized with the CRDB. This lets providers quickly access routing information and minimize call routing latency. You'll interact with your provider's database for real-time status checks and validation.

  3. Local Switching Systems: These systems use information from provider databases to route calls correctly, ensuring calls reach the intended recipient even after porting. Understand this layer to troubleshoot routing issues effectively.

The following diagram illustrates the interaction between these layers:

mermaid
graph TD
    A[Central Reference Database (CRDB)] -->|Synchronization| B[Provider Databases]
    B -->|Real-time Updates| C[Local Switching Systems]
    D[EETT Oversight] -->|Monitoring| A
    E[Service Providers] -->|Porting Requests| A

The Hellenic Telecommunications and Post Commission (EETT) provides oversight and monitoring of the CRDB, ensuring compliance and maintaining system integrity.

Greek Number Porting Technical Requirements

Integrate with the Greek number portability system by adhering to specific technical standards and requirements. These ensure interoperability and maintain system performance and reliability across all telecommunications providers.

Response Time Requirements

Meet these strict response time requirements for a seamless user experience:

  • Initial Validation: ≤ 2 hours
  • Provider Response: ≤ 24 hours
  • Complete Port Execution: ≤ 3 working days

Integration Requirements

Implement these capabilities for successful integration:

  1. API Endpoints: Provide robust API endpoints for real-time status checking, automated validation services, and error handling protocols. Document these endpoints and follow industry best practices.

  2. Database Systems: Include a local cache of the porting database, real-time CRDB synchronization, and robust backup and recovery procedures. Implement a multi-level caching strategy for optimal performance.

  3. Monitoring Systems: Implement comprehensive monitoring to track performance metrics, monitor Service Level Agreements (SLAs), and trigger automated alerts for deviations. This proactive approach maintains system stability and addresses issues promptly.

Implementing Greek Phone Number Portability

This section provides practical guidance and examples to help you integrate with the Greek number portability system effectively. Learn how to validate phone numbers, handle porting requests, and maintain compliance with EETT regulations.

Database Schema Example

This example schema stores porting requests:

sql
CREATE TABLE porting_requests (
    request_id UUID PRIMARY KEY,
    msisdn VARCHAR(15) NOT NULL,
    donor_provider VARCHAR(50),
    recipient_provider VARCHAR(50),
    status VARCHAR(20),
    request_timestamp TIMESTAMP,
    completion_timestamp TIMESTAMP,
    validation_status JSONB,
    INDEX idx_msisdn (msisdn),
    INDEX idx_status (status),
    INDEX idx_timestamp (request_timestamp)
);

CREATE TABLE porting_history (
    history_id UUID PRIMARY KEY,
    request_id UUID REFERENCES porting_requests(request_id),
    event_type VARCHAR(50),
    event_timestamp TIMESTAMP,
    event_data JSONB,
    INDEX idx_request_id (request_id)
);

This schema tracks the entire lifecycle of a porting request, from initial submission to completion. Customize it based on your specific needs.

API Integration Pattern

The following JavaScript snippet demonstrates a basic API endpoint implementation for checking porting status:

javascript
// Example API endpoint implementation
async function checkPortingStatus(msisdn) {
    try {
        // Validate MSISDN format
        if (!validateGreekMSISDN(msisdn)) {
            throw new Error("Invalid MSISDN format");
        }

        // Query central database (via provider's API)
        const portingStatus = await providerAPI.queryStatus(msisdn);

        // Handle response
        return {
            status: portingStatus.current,
            eligibility: portingStatus.canPort,
            estimatedCompletion: portingStatus.eta
        };
    } catch (error) {
        handlePortingError(error); // Implement robust error handling
    }
}

This example highlights the importance of MSISDN validation and robust error handling. Implement appropriate logging and alerting mechanisms.

Handling Edge Cases and Failures

Anticipate and handle potential edge cases and failures. For instance, what happens if the provider's API experiences a temporary outage? Implement fallback mechanisms like retry logic with exponential backoff, and cache frequently accessed data to mitigate disruptions. Ensure your error handling provides informative messages to users and logs detailed information for debugging.

Number Validation

Implement validation against Greek number patterns, including geographic, mobile, toll-free, premium rate, shared cost, and short codes. Sanitize user input to remove non-digit characters before validation. Provide clear feedback when input is invalid.

Caching Strategies

A multi-level caching architecture significantly improves performance. Use a combination of in-memory caching, Redis, and a database cache. Configure appropriate Time-To-Live (TTL) settings for each cache level to balance performance and data freshness.

Monitoring and Error Handling

Track key metrics like validation success rates, NPDB query volume, cache efficiency, and system errors. Implement alerting mechanisms to notify you of anomalies or performance degradations.

Consumer Rights and Greek Telecom Regulations

The EETT (Hellenic Telecommunications and Post Commission) has established comprehensive consumer protection measures to ensure fair and transparent porting in Greece. Be aware of these rights and ensure your implementations comply. These rights include free number portability services, a maximum 3-day porting completion time, a transparent fee structure, and the right to cancel a porting request within 14 days if the contract with the new provider was signed remotely. Compliance builds trust and maintains a positive reputation.

Number portability covers corporate numbers, personal numbers, toll-free numbers, shared cost numbers, and premium rate numbers. Understand these categories for accurate number validation and routing. Greece has pioneered number portability since 2004, consistently improving its infrastructure through its partnership with iconectiv. This long-standing commitment underscores the service's importance in Greek telecommunications.

Best Practices for Number Portability Integration

Follow these best practices for Greek phone number portability to build robust and efficient integration:

PracticeImplementation Details
Comprehensive Error HandlingImplement thorough validation checks, maintain detailed error logs, provide clear error messages to users, and establish fallback procedures.
Performance OptimizationCache frequently accessed data, implement connection pooling, utilize asynchronous processing where appropriate, and continuously monitor system metrics.
Security ConsiderationsEncrypt all sensitive data, implement strong authentication mechanisms, conduct regular security audits, and maintain detailed access logs.

Summary: Building Greek Number Portability Solutions

Understanding the technical intricacies of Greece's number portability system lets you develop robust, compliant applications that empower users to switch service providers while retaining their phone numbers. For additional telecommunications integration guides, explore our resources on phone number validation and international number formatting. Prioritize user experience, security, and performance throughout development.

Frequently Asked Questions

How to integrate with Greek number portability database?

Integrate by implementing robust API endpoints for real-time status checks, automated validation, and error handling. Your database should have a local cache of the porting database, real-time CRDB synchronization, and strong backup/recovery procedures. A multi-level caching strategy is recommended for optimal performance.

What is the architecture of Greece number portability system?

Greece's system uses a three-tier architecture: a Central Reference Database (CRDB), individual Provider Databases, and Local Switching Systems. The CRDB, powered by iconectiv's TruNumber Portability Clearinghouse, acts as the single source of truth, synchronized with provider databases for real-time updates and efficient call routing.

Why does Greece have number portability?

Number portability empowers consumers and businesses to keep their numbers when changing providers, promoting competition and innovation in the Greek telecommunications market. This applies to both fixed-line and mobile numbers, ensuring a smooth transition facilitated by a centralized database system.

When should number porting complete in Greece?

The complete port execution in Greece should take a maximum of 3 working days. Initial validation should be within 2 hours, and the provider response within 24 hours. These benchmarks are crucial for a seamless user experience.

Can I port a toll-free number in Greece?

Yes, number portability in Greece extends to various number categories, including corporate, personal, toll-free, shared cost, and premium rate numbers. Greece has been a pioneer in number portability since 2004, consistently improving its infrastructure and demonstrating a commitment to this service.

What is the role of EETT in number portability?

The Hellenic Telecommunications and Post Commission (EETT) oversees and monitors the CRDB, ensuring compliance and system integrity. They also enforce consumer protection measures like free portability, a 3-day completion time, transparent fees, and a 14-day cancellation right for remotely signed contracts.

How to validate Greek phone numbers effectively?

Validate against defined Greek number patterns (geographic, mobile, toll-free, premium rate, shared cost, short codes). Sanitize user input by removing non-digit characters and provide clear feedback for invalid input. Accurate validation is crucial for successful porting.

What database schema should I use for porting requests?

A suggested schema includes request ID, MSISDN, donor/recipient providers, status, timestamps, and validation status in JSONB format. This allows tracking the entire lifecycle of a request, and can be customized further based on specific needs.

How to check Greek number porting status via API?

First validate the MSISDN. Then query the central database via your provider's API. The response should include the current status, porting eligibility, and estimated completion time. Implement robust error handling and logging.

What are best practices for number portability implementation?

Prioritize comprehensive error handling, performance optimization (caching, connection pooling, asynchronous processing), and security (data encryption, authentication, audits, access logs). Focus on user experience, security, and performance.

What are the consumer rights regarding number portability in Greece?

Consumers have the right to free number portability, a maximum 3-day completion time, transparent fees, and a 14-day cancellation period for contracts signed remotely. These rights are protected by the EETT and are crucial for a fair and transparent process.

What is the importance of caching in number portability systems?

A multi-level caching architecture (in-memory, Redis, database) with appropriate TTL settings significantly improves performance by reducing database load and latency. This ensures quicker responses for status checks and validations.

How to handle failures in number portability integration?

Implement fallback mechanisms like retry logic with exponential backoff and cache frequently used data. Ensure detailed error messages for users and logs for debugging. Prepare for provider API outages and other potential disruptions.