Skip to content

Ring2All SBC (Session Border Controller) Documentation

8 min readUpdated: Nov 29, 2026
View as Markdown
Role Primary Use Case Key Capabilities
SBC Operations Engineer Edge session border controller management. Monitor platform health, manage SIP routing domains, and oversee real-time voice and SMS traffic.
Network Administrator Infrastructure stability & perimeter security. Configure system interfaces, verify firewall defenses, and inspect carrier interconnection status.
Telecom Support Specialist Day-to-day diagnostics & provisioning. Inspect active registrations, review diagnostic CDRs, and assist enterprise customer onboarding.

Ring2All SBC Mission Control Dashboard

Official Slogan: “High-Throughput Perimeter SIP Engine & Carrier LCR”
Brand Identity: Emerald / Cyan (#10B981) • Icon: shield • Component Code: sbc

Welcome to the comprehensive technical and operational documentation for Ring2All SBC, the perimeter Class 4 Session Border Controller and SIP routing engine of the Ring2All carrier-grade communications suite.


  1. Platform Overview & Architecture
  2. Commercial & Operational Value
  3. Core Capabilities & High-Throughput Engine
  4. SBC Module Documentation Index
  5. Network Topology & Security Zones
  6. Hardware & Sizing Recommendations
  7. Glossary of Carrier Terms

Ring2All SBC serves as the hardened perimeter gatekeeper and carrier interconnection core for all inbound and outbound SIP traffic. Built upon Kamailio 6.1+, RTPEngine 12.5+ (with kernel-space xt_RTPENGINE packet forwarding), and a responsive Fastify/React administrative suite, it separates untrusted public networks and wholesale carriers from internal application servers (Ring2All PBX) and financial systems (Ring2All BSS).

flowchart TD
    subgraph Untrusted["🌐 Untrusted Public Perimeter"]
        Carriers["Wholesale PSTN Carriers"]
        RemoteTrunks["Remote SIP Trunks"]
        WebRTC["WebRTC Browser Clients"]
    end

    subgraph SBC["🛡️ Ring2All SBC (Class 4 Perimeter Gatekeeper)"]
        direction TB
        Kamailio["⚡ Kamailio 6.1+ Signaling Engine<br/>• Pike Anti-Flood & Rate Limiting<br/>• Drouting LCR Engine<br/>• Dispatcher Load Balancing<br/>• Topology Hiding"]
        RTPEngine["🎧 RTPEngine 12.5+ Media Relay<br/>• xt_RTPENGINE Kernel Forwarding<br/>• WebRTC DTLS-SRTP Gateway<br/>• Symmetric NAT Traversal<br/>• MOS / QoS Analytics"]
        ControlPlane["🎛️ Control Plane (Fastify 5 REST API)<br/>• AI Perimeter Guard<br/>• Whitelist/Blacklist Sync<br/>• Live SIP Ladders"]

        Kamailio <--> RTPEngine
        Kamailio --> ControlPlane
    end

    subgraph InternalCore["🏢 Protected Core Zone (WireGuard / VPC)"]
        PBX["⚙️ Ring2All PBX Engine (Class 5 Core)"]
        BSS["💳 Ring2All BSS (Billing OCS & Accounting)"]
    end

    Carriers -->|"SIP 5060/5061"| Kamailio
    RemoteTrunks -->|"SIP 5060/5061"| Kamailio
    WebRTC -->|"WSS / DTLS"| Kamailio

    Carriers <.->|"RTP 16384-49152"| RTPEngine
    RemoteTrunks <.->|"RTP 16384-49152"| RTPEngine
    WebRTC <.->|"SRTP / Opus"| RTPEngine

    Kamailio -->|"Internal SIP Trunk"| PBX
    Kamailio -->|"Real-time CDR / Fraud Events"| BSS
  • Sub-Millisecond Signalling Latency: In-memory caching (shm) for LCR routing tables, IP access control lists, and dispatcher server lists.
  • Kernel-Space Media Processing: Through xt_RTPENGINE iptables integration, media packets are relayed directly within Linux kernel space, bypassing user-space context switches.
  • Full Topology Hiding: Strips internal IP addresses, Via, Record-Route, and Server headers to shield internal infrastructure from external reconnaissance.
  • Multi-Master HA Clustering: Distributed state synchronization across redundant SBC nodes with automatic failover in < 500ms.

  • Zero Carrier Telecom Fraud: Immediate automated rate limiting (Pike module) blocks automated SIP brute-force attempts and toll fraud in under 1 second.
  • Carrier Cost Optimization (LCR): Prefix-based Least Cost Routing evaluates wholesale rate cards in real time to route outbound calls via the most economical healthy carrier.
  • Unified WebRTC to SIP Gateway: Bridges browser-based audio/video communications (DTLS-SRTP with Opus) seamlessly to standard G.711/G.729 carrier interconnects.
  • Carrier Interconnection Flexibility: Supports both IP authentication (ACL whitelist) and digest authentication (HA1/HA1B) with independent capacity limits per trunk.

3. Core Capabilities & High-Throughput Engine

Section titled “3. Core Capabilities & High-Throughput Engine”
Capability Specification / Implementation
Max Concurrent Calls (CPS) 500+ Call Setups per Second per Node
Simultaneous Media Sessions 10,000+ Concurrent RTP Streams with xt_RTPENGINE
LCR Route Capacity 1,000,000+ E.164 prefix routing entries in memory
Media Transcoding & Fax Opus, G.711u/a, G.729, G.722, RFC 2833 DTMF interworking, and T.38 Fax Relay
Security & Anti-Toll-Fraud Scanner UA Shield, Auth Brute-Force Auto-Ban, IRSF Prefix Guard, APIBAN, VoIPBL, and DMQ-synced Permanent Bans
Diagnostic Tracing & Observability Zero-impact cluster-wide SIP capture, Wireshark .pcap export, Live Operations Console, Visual LCR Simulator, Alert Webhooks, and native Prometheus /metrics

Module Guide Primary Function
SIP Domains Multi-tenant ingress domain mapping, FQDN resolution, and Dispatcher set binding.
MS Teams Direct Routing Microsoft 365 Direct Routing integration, TLS mutual authentication, and SBC FQDN SANs.
Zoom Phone BYOC Peering Zoom Phone Premise Peering trunks over SIP-TLS 5061, SRTP, and 8-step compliance prober.
Cloud Local Gateway (LGW) Enterprise BYOC Local Gateway peering over TLS 1.2+ / SDES SRTP with regional CIDR cards and 6-check compliance prober.
PBX Endpoints Ring2All PBX cluster pools, health heartbeats, maintenance drain, and drag-and-drop failover sets.
Carriers & Groups Upstream wholesale gateway pools, UAC outbound registration, Media/Codec/DTMF/T.38 policies, and rate limiting groups.
Quality Routing (SLA) Real-time ASR, ACD, and MOS telemetry-driven closed-loop autonomous rerouting (gwDisabled).
SIP Accounts Wholesale SIP Trunks, IP vs Credential Authentication, HA1 hashes, Channel/CPS limits, and per-account Fraud Guard.
DIDs & Inbound Routing Inbound phone number inventory, E.164 normalization, and automated routing to Ring2All PBX.
Outbound Routes & LCR Class 4 Least Cost Routing, prefix trees, Visual Route Simulator, and smart SIP cause code failover.
STIR/SHAKEN Service STI-AS cryptographic call signing, PASSporT tokens, STI-VS identity verification, and x5u repos.
Module Guide Primary Function
Live Operations Console Real-time active SIP dialogs with live MOS/jitter, force hangup (BYE), live registrations, and UAC carrier trunk status.
SIP Traces & Wireshark .pcap Cluster-wide on-demand SIP packet capture, interactive ladder diagrams, response-class filters, and .pcap download.
Prometheus & Grafana Metrics Native OpenMetrics 0.0.4 /metrics exporter for Grafana dashboards and Alertmanager SLA paging.
Email & Alert Webhooks SMTP relay, alarm rules, Slack/Teams/PagerDuty/Generic JSON webhooks with SSRF protection and anti-storm cooldown.
Firewall Settings & Fraud Guard Host nftables, Fail2Ban, VoIP Scanner Shield, Auth Brute-Force Auto-Ban, and IRSF/International Fraud Guard.
Edge & Media Protocols WebRTC WS/WSS, NAT Traversal keepalives, Topology Hiding, HEP3, NANPA LRN RFC 4694, E911, and Lawful Intercept.
Dispatcher & Cluster HA Load balancing to Ring2All PBX media servers, health check heartbeats (OPTIONS), and DMQ active-active HA.
RTPEngine Media Relay Media proxying, symmetric NAT traversal, WebRTC bridging, and real-time MOS quality tracking.
Perimeter Security & Anti-Fraud Pike flood protection, htable rate limiting, Geo-Firewall, VoIPBL, and APIBAN honeypot feeds.
AI Perimeter Guard Autonomous AI threat correlation, perimeter diagnostics, and MCP NOC Copilot controls.
System & Resource Monitoring Live CPS dashboard, active dialogs, memory utilization, and administrative RPC terminal.
User & Preferences Dashboard layout customization, administrator profile, theme ergonomics, and system architecture details.

Ring2All SBC is designed to sit directly across security perimeters:

  • Public Interface (eth0 / WAN): Exposes ports UDP/TCP 5060 (SIP), TLS 5061 (SIPS), and UDP 10000–40000 (RTP). Protected by Pike anti-flood and kernel packet filtering.
  • Internal Private Interface (wg0 / Private VPC): Interconnects with Ring2All PBX nodes, database clusters, and Billing OCS engines. No external traffic is ever routed into this interface.
  • Management Interface (HTTPS 443): Protected by JWT, role profiles, and SHA-256 API keys.

Scale Tier Concurrent Calls Target Hardware (Bare Metal / VM)
Small / Lab Up to 250 calls 2 vCPU, 4 GB RAM, 20 GB NVMe
Mid Carrier 250 – 2,500 calls 8 vCPU, 16 GB RAM, 100 GB NVMe, 1 Gbps NIC
Tier-1 Carrier 2,500 – 15,000 calls 32 vCPU, 64 GB RAM, 500 GB NVMe, 10 Gbps DPDK/NIC

  • CPS (Calls Per Second): The rate at which new call setups (INVITE) are processed by the signalling engine.
  • LCR (Least Cost Routing): Algorithmic selection of wholesale egress carriers based on rate card cost and quality indicators (ASR/ACD).
  • PDD (Post-Dial Delay): Time elapsed between sending the final digit of the destination number and receiving ringback tone (180 Ringing).
  • Topology Hiding: Sanitization of internal IP addresses and server headers in outgoing SIP requests to prevent infrastructure mapping.