PSTN2

Next Generation Phone Network

PSTN2 is what is missing from the Internet - a safe, regulated, private, person to person multi-media communication platform. PSTN2 is a shared-nothing, fully distributed architecture where all operators have equal status.

  • Identification
  • Authentication
  • Encryption
  • Routing
  • Porting
  • Realtime 999

This website comprises free to download and use software, documentation, and a Directory of other participants.

$38B
Annual Fraud Losses

Authentication reduces identification fraud and provides tracing

90%+
Cost Reduction

Eliminating transit providers and intermediaries

24/7
Life-Saving Service

Enhanced emergency location accuracy

The Problem with Current PSTN

Today's all-IP PSTN not only has critical vulnerabilities, but has also not yet become the defacto person to person signalling solution for all-IP communications.

🚨 Rampant Fraud

Caller ID can be trivially spoofed, enabling scammers to impersonate banks, government agencies, and trusted organizations. $38 billion lost annually to phone fraud.

📍 Legacy Emergency Services

Emergency service systems are based on legacy technologies, with inaccurate or missing location data, costing precious minutes in life-threatening situations and leading to preventable deaths.

💰 High Costs

Multiple intermediaries to reach a destination create unnecessary complexity and expense.

🔒 No Real Authentication

The current system has no reliable way to verify where a call originated, creating challenges for law enforcement.

📋 Lack of standards

No standard way to communicate between industry participants meaning automation challenging and adding to industry costs.

🛡️ Poor future protection

The industry invests little in its future; buying from, rather than selling to, over-the-top technology plays.

The PSTN2 Solution

A revolutionary architecture built on distributed messaging, cryptographic authentication, and direct communication

🔐

Cryptographic Authentication

Every call is cryptographically signed by the originating carrier, making spoofing mathematically impossible. Trust is built into the protocol.

🌐

Distributed Architecture

No single point of failure. The network uses eventual consistency across distributed databases, ensuring high availability and global scalability.

Direct Routing

Carriers connect directly to each other for reduced costs, lower latency, multi-media calls, and ability to exchange any other data package.

🚑

Enhanced Emergency Services

Accurate location data sent directly to emergency services with every 911 call, saving lives through faster, more precise response.

📱

Small CP Support

Low barrier to entry via MAPs (Managed Access Providers) who, like today's wholesalers, deal with the systems that smaller providers do not have the expertise to deal with.

🔄

Backward Compatible

Seamless interoperability with existing PSTN. Incremental deployment allows carriers to adopt PSTN2 features and functions at their own pace.

Animated Presentations

Comprehensive visual explanations of PSTN2 architecture and benefits

Core Presentations

1

Problem Statement

📊 8 scenes ⏱️ ~8 min

Explores current PSTN limitations, the caller ID spoofing crisis, and the $38 billion in annual fraud losses affecting consumers and businesses.

Watch Presentation →
2

Solution Overview

📊 12 scenes ⏱️ ~12 min

Introduces PSTN2 architecture with distributed messaging, cryptographic authentication, and comprehensive benefits comparison against legacy PSTN.

Watch Presentation →

Technical Deep Dives

3

Authentication Option 1

📊 10 scenes ⏱️ ~10 min

Direct query verification mechanism with real-time fraud prevention, performance analysis, and privacy considerations.

Watch Presentation →
4

Authentication Option 2

📊 11 scenes ⏱️ ~11 min

Token pool alternative with query reduction strategy, privacy trade-offs, and scalability analysis for high-volume scenarios.

Watch Presentation →
5

Direct Routing

📊 12 scenes ⏱️ ~12 min

Eliminating transit providers to achieve massive cost savings, reduced latency, enhanced security, and simplified billing.

Watch Presentation →
6

Emergency Services

📊 9 scenes ⏱️ ~9 min

Enhanced location data accuracy for life-saving emergency response, overcoming current system limitations.

Watch Presentation →
7

Distributed Database

📊 12 scenes ⏱️ ~12 min

Eventual consistency model ensuring scalability, eliminating single points of failure, and enabling global distribution.

Watch Presentation →
8

MAP Architecture

📊 11 scenes ⏱️ ~11 min

Enabling small CP participation with low barriers to entry, lightweight requirements, and full interoperability standards.

Watch Presentation →

Complete Walkthrough

9

End-to-End Scenario

📊 15 scenes ⏱️ ~15 min

Complete call flow from Alice to Bob demonstrating all PSTN2 features working together in a real-world scenario with step-by-step explanation.

Watch Presentation →

PSTN2 Architecture Overview

How Communication Providers connect to both legacy PSTN and modern PSTN2 networks

Legacy PSTN PSTN2 Network Communication Provider (CP) Your Network 🔐 Authentication Engine 🔒 Encryption (SRTP/DTLS) 📊 Directory Service 🚑 Emergency Handler CP on PSTN (Legacy Only) ❌ No Authentication ❌ No Encryption CP on PSTN2 (Modern) ✓ Authenticated ✓ Encrypted ✓ Direct Routing ✓ Real-time 999 ✓ Porting Alice's Phone 📱 Legacy PSTN Limited Features Bob's Phone 📱 PSTN2 Enabled ✓ Caller ID Verified ✓ Call Encrypted ✓ HD Voice ✓ GPS for 999 ✓ Rich Branding ✓ Number Porting Legacy Call No Authentication Unencrypted PSTN2 Call ✓ Authenticated Direct Route ✓ Encrypted 🔐 Authentication Ed25519 Digital Signatures Prevents Spoofing 🔒 Encryption SRTP/DTLS End-to-End Privacy Protected ⚡ Direct Routing Peer-to-Peer No Transit Fees 90%+ Cost Savings 🚑 Realtime 999 GPS Location Instant Transfer Life-Saving Accuracy 🔄 Porting Distributed DB Real-time Updates 🎯 Identification Verified Caller ID Branding Info Trust Indicators 📋 Message Protocol Standardized API REST/JSON Easy Integration Network Connections Legacy PSTN (Unencrypted) PSTN2 (Authenticated & Encrypted)
🔐

Authentication

Ed25519 digital signatures cryptographically verify every call's origin, making caller ID spoofing mathematically impossible.

🎯

Identification

Verified caller ID with rich branding information displays trust indicators on end-user phones.

🔒

Encryption

SRTP and DTLS protocols provide end-to-end encryption for all voice and media, ensuring complete privacy.

Direct Routing

Peer-to-peer connections eliminate transit providers, reducing costs by 90%+ and improving call quality.

🔄

Number Porting

Distributed database with eventual consistency enables real-time number portability across all carriers.

🚑

Realtime 999

GPS location data transmitted instantly with emergency calls for life-saving location accuracy.

Explore Code Samples → View Detailed Presentations →

Sample Implementations

Working code examples in TypeScript, Python, and Go - ready to use

🔷

TypeScript

Modern, type-safe implementation

  • 5 complete working examples
  • Authentication (Direct Query & Token Pool)
  • Direct routing with media negotiation
  • Emergency services integration
  • Complete end-to-end call flow
  • Full SDK documentation
✓ Available Now View Documentation → Markdown
🐍

Python

Async/await with type hints

  • 5 async Python examples
  • Type-safe with Pydantic models
  • FastAPI integration patterns
  • Emergency location services
  • Complete call flow demonstration
  • Testing with pytest
✓ Available Now View Documentation → Markdown
🔷

Go

High-performance production-ready

  • 5 production-ready Go examples
  • Full context.Context support
  • Concurrent authentication handling
  • HTTP server & gRPC integration
  • Benchmark tests included
  • Connection pooling & retries
✓ Available Now View Documentation → Markdown
📚

Documentation

Complete specifications & guides

  • Complete protocol specification
  • OpenAPI 3.0 REST API spec
  • Implementation guide (3 languages)
  • Testing & certification guide
  • All examples explained in detail
  • Integration patterns & best practices
✓ Available Now View Documentation → Markdown
📦

Complete Download

Everything in one package (256KB)

  • All 9 animations + website source
  • 15 code examples (TypeScript/Python/Go)
  • Complete documentation & specs
  • Claude.md AI guidance file
  • Deployment scripts included
  • No license restrictions - use freely!

Open Source / Public Domain
No commercial owner (apart from CCUK logo). Feel free to download, use, modify, and run in your own environment. This website was created using Claude Code AI - the relevant files are included in this download.

✓ Available Now 📥 Download ZIP (256KB) →
🏢

Being a MAP

Managed Access Provider Documentation

  • Pure PSTN2 MAP: PSTN2-only services
  • Full Service MAP: Bridge PSTN + PSTN2
  • Multi-tenant architecture patterns
  • AWS cloud deployment guide
  • On-premises infrastructure guide
  • Complete specifications & code examples

Two MAP Types:
Pure PSTN2 MAP - Modern VoIP providers wanting PSTN2 features only
Full Service MAP - Existing PSTN wholesalers adding PSTN2 to their portfolio

✓ Available Now View MAP Documentation → Markdown

Quick Links to Code & Documentation

📖 Examples Guide 📋 Protocol Spec 🔌 API Reference 🛠️ Implementation Guide 🏢 MAP Overview 🏗️ Multi-Tenant Design ☁️ AWS Deployment 🖥️ On-Premises Deployment