π¦ Ring2All PBX - Installation Guide
Complete installation guide for deploying Ring2All PBX platform
---
π Overview
Ring2All PBX can be deployed in two main configurations:
| Configuration | Description | Best For |
|---|
| Single Server | All components on one machine | Small businesses, demos, development | |
| Distributed (Multi-Server) | Components across multiple servers | Enterprise, high availability, scalability |
---
π₯οΈ Single Server Deployment
The simplest deployment where all components run on a single server.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SINGLE SERVER ARCHITECTURE β
β (All-in-One Deployment) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β NGINX (Reverse Proxy) β β
β β Port 80/443 (HTTP/S) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β β β β β
β βΌ βΌ βΌ βΌ βΌ β
β βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ β
β β Admin β β Portal β βSwitchbd β β API β β WS β β
β β Web β β Web β β Web β β :3000 β β :3001 β β
β βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ β
β β β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β PostgreSQL 17 β β
β β ss_admin | ss_telephony | ss_cdr | ss_cc | ss_logs | freeswitch β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β FreeSWITCH β β
β β SIP: 5060 | RTP: 16384-32768 β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β Single Server: your-server-ip β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Capacity & Requirements
| Component | Minimum | Recommended | High Performance |
|---|
| CPU | 4 vCPU | 8 vCPU | 16+ vCPU | |
| RAM | 8 GB | 16 GB | 32+ GB | |
| Storage | 100 GB SSD | 250 GB SSD | 500+ GB NVMe | |
| OS | Debian 13 | Debian 13 | Debian 13 | |
| Concurrent Calls | ~50 | ~150 | ~500+ | |
| Extensions | ~500 | ~2,000 | ~10,000 |
> π‘ Note: With high-performance hardware (16 vCPU, 32GB RAM, NVMe storage), a single server can handle up to 10,000 extensions and 1,500 concurrent calls.
π Complete Single Server Installation Guide
---
ποΈ Distributed Deployment (Multi-Server)
Enterprise-grade deployment with components distributed across multiple servers for maximum scalability, redundancy, and performance.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β DISTRIBUTED ARCHITECTURE β
β (Enterprise Multi-Server Deployment) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β βββββββββββββββββββββββββββββββββββ β
β β LOAD BALANCER (HAProxy/Nginx) β β
β β Public IP: lb.example.com β β
β ββββββββββββββββββ¬βββββββββββββββββ β
β β β
β ββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ β
β β β β β
β βΌ βΌ βΌ βΌ βΌ β
β ββββββββββββ ββββββββββββ ββββββββββββββ ββββββββββββββ ββββββββββββββ β
β β ADMIN β β PORTAL β β SWITCHBOARD β β API β β MONITORING β β
β β Server β β Server β β Server β β Server(s) β β API β β
β ββββββββββββ ββββββββββββ ββββββββββββββ ββββββββββββββ ββββββββββββββ β
β β β β β β β
β ββββββββββββββββββ΄ββββββββββββββββ΄βββββββββββββββββββ΄ββββββββββββββββ β
β β β
β βββββββββββββββββββββββ΄ββββββββββββββββββββββ β
β β β β
β βΌ βΌ β
β ββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββ β
β β POSTGRESQL HA CLUSTER β β FILE SERVER CLUSTER β β
β β ββββββββββββ ββββββββββββ β β ββββββββββββ ββββββββββββ ββββββββββββ β β
β β β Primary β β Replica β ... β β β FS-01 β β FS-02 β β FS-03 β β β
β β β Patroni β β Patroni β β β β GlusterFSβ β GlusterFSβ β GlusterFSβ β β
β β ββββββββββββ ββββββββββββ β β ββββββββββββ ββββββββββββ ββββββββββββ β β
β β PostgreSQL 17 + Etcd β β GlusterFS Replica 3 Volume β β
β ββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β TELEPHONY CLUSTER (N+1 Scalable) β β
β β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β β
β β β FS-TELE-01 β β FS-TELE-02 β β FS-TELE-03 β β FS-TELE-N β β β
β β β FreeSWITCH β β FreeSWITCH β β FreeSWITCH β β FreeSWITCH β ... β β
β β β 10,000 ext β β 10,000 ext β β 10,000 ext β β 10,000 ext β β β
β β β 1,500 calls β β 1,500 calls β β 1,500 calls β β 1,500 calls β β β
β β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β β
β β Add servers as needed (Horizontal Scaling) β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Distributed Components
Telephony Server Scaling
| Servers | Extensions | Concurrent Calls | Use Case |
|---|
| 1 | ~10,000 | ~1,500 | Medium Enterprise | |
| 2 | ~20,000 | ~3,000 | Large Enterprise | |
| 5 | ~50,000 | ~7,500 | Service Provider | |
| 10+ | ~100,000+ | ~15,000+ | Carrier Grade |
> π‘ Horizontal Scaling: Add telephony servers as your capacity needs grow. Each server operates independently while sharing the same database and configuration.
---
π Installation Guides
Single Server
Distributed Deployment
---
π§ Prerequisites
All Deployments
- Operating System: Debian 13 (Trixie) - 64-bit
- Network: Static IP address(es)
- DNS: Domain name(s) configured (recommended)
- SSL: Valid SSL certificates (Let's Encrypt supported)
Ring2All Repository Access
# Add GPG key
curl -fsSL https://repo.ring2all.com/gpg.key | gpg --dearmor -o /etc/apt/keyrings/ring2all.gpg
# Add repository
echo "deb [signed-by=/etc/apt/keyrings/ring2all.gpg] https://repo.ring2all.com/apt stable main" > /etc/apt/sources.list.d/ring2all.list
# Update package list
apt update
---
π¦ Package Reference
| Package | Description | Required For |
|---|
softswitch-db | Database schemas and migrations | Database Server | |
softswitch-admin | Admin UI + Portal + Switchboard | Web Servers | |
softswitch-api | Backend API service | API Server | |
softswitch-telephony | FreeSWITCH + Lua scripts | Telephony Server | |
softswitch-music | Hold music audio files | All (optional) | |
softswitch-voiceguide-emma | English voice prompts | All (optional) | |
softswitch-voiceguide-paloma | Spanish voice prompts | All (optional) |
---
π Post-Installation
After installation:
- Access the Admin Dashboard at
https://your-server/admin
- Activate License in Settings > System > Licensing
- Configure SIP Profiles for your network
- Create Extensions and test registration
- Add Gateways for external calling
---
π Troubleshooting
Common issues and solutions:
| Issue | Solution |
|---|
| Services not starting | Check logs: journalctl -u softswitch-api -f | |
| Database connection failed | Verify credentials in /etc/softswitch/db-credentials | |
| FreeSWITCH not loading | Test ODBC: isql -v ss_telephony | |
| Web interface not accessible | Check Nginx: nginx -t && systemctl status nginx |
---
Next: Single Server Installation or Distributed Deployment Overview