Global Voice Challenges
Enterprises expanding globally face unique voice communication challenges. Unlike domestic communications, cross-border voice requires consideration of network latency, country-specific compliance requirements, multi-timezone operations, and more. Here are the most common pain points:
- Network latency: One-way latency from China to Southeast Asia is ~30-80ms, to Europe ~150-250ms, to South America ~200-350ms
- Compliance complexity: Different countries have different regulatory requirements for voice communications and number usage
- Carrier variation: Interconnection quality varies significantly across carriers in different countries
- Multi-timezone operations: Business covering multiple time zones requires 24/7 monitoring and support
- Cost control: International communication costs are much higher than domestic, requiring refined routing strategies
Architecture Pattern Selection
Centralized Architecture
All PBX and voice processing equipment is deployed in a single data center, connecting to global carriers via SIP trunks.
Pros: Simple management, low operational costs, unified configuration. Cons: All traffic routes through the central site, international link latency compounds, high bandwidth costs.
Distributed Architecture
PBX nodes are deployed in multiple regions with local carrier access, interconnected via dedicated lines or VPN between regions.
Pros: Local access reduces latency, improves call quality. Cons: Multi-node operational complexity is high, requires handling cross-region routing and data synchronization.
Recommended: Hybrid Architecture
For most globally expanding enterprises, we recommend a "centralized management + edge access" hybrid architecture:
- Control plane (management, configuration, monitoring) is centrally deployed
- Media plane (voice access, transcoding) is distributed
- Edge access is achieved through the SIP trunk provider's global POP nodes
Practical Advice: Most mid-size enterprises expanding globally do not need to build their own overseas nodes. Choosing a SIP trunk provider with global POP nodes (such as Cainiao Voice, which has POPs in 30+ countries) lets you enjoy the benefits of distributed architecture without managing overseas infrastructure yourself.
PBX Integration Strategy
| PBX Platform | Best For | SIP Trunk Compatibility | Scalability | Open Source/Commercial |
|---|---|---|---|---|
| Asterisk | Small-medium deployments, flexible customization | Excellent | Medium (single-server limited) | Open Source |
| FreeSWITCH | Medium-large deployments, high concurrency | Excellent | Excellent (clustering) | Open Source |
| 3CX | SMBs, easy management | Excellent | Medium | Commercial |
| Cisco CUBE | Large enterprises, existing Cisco ecosystem | Excellent | Excellent | Commercial |
| Avaya | Traditional large enterprises | Good | Excellent | Commercial |
| Yeastar | SMBs, high value | Excellent | Medium | Commercial |
Routing Design
Least Cost Routing (LCR)
LCR selects the cheapest available route based on destination and rate tables. Implementation: Configure multiple SIP trunks in the PBX Dialplan, sorted by rate priority.
Quality-First Routing
Selects the best route based on real-time quality metrics (ASR, PDD, MOS). Requires real-time collection of quality data from each route, dynamically adjusting routing weights.
Hybrid Routing Strategy (Recommended)
Combines cost and quality factors, setting quality thresholds (e.g., MOS > 3.8) and selecting the lowest-cost route among those that meet the threshold. Use premium routes for critical business calls and economy routes for notification calls.
High Availability Design
Voice communication system availability directly impacts business continuity. Key high availability measures include:
- PBX clustering: Active-standby or load-balanced mode with automatic failover (FreeSWITCH supports ESL clustering)
- Multiple SIP trunks: Configure at least 2 SIP trunk providers for mutual backup
- Database HA: MySQL/PostgreSQL master-slave replication to ensure no CDR or configuration data loss
- Network redundancy: Dual uplinks (different ISPs), BGP or policy routing for automatic failover
- Power redundancy: Dual power supply + UPS for hardware-level high availability
Bandwidth Calculation
Accurate bandwidth planning is the foundation for ensuring voice quality. Here is the bandwidth calculation formula and reference values:
Per-call bandwidth = (Voice payload size + IP/UDP/RTP headers) x Packets per second
| Codec | Payload/Packet | Packets/sec (20ms) | Total Bandwidth (with overhead) |
|---|---|---|---|
| G.711 | 160 bytes | 50 | 87.2 kbps |
| G.729 | 20 bytes | 50 | 31.2 kbps |
| G.722 | 160 bytes | 50 | 87.2 kbps |
| Opus @ 32kbps | 80 bytes | 50 | 55.2 kbps |
Example calculation: 100 concurrent calls using G.729 codec
- Voice bandwidth: 100 x 31.2kbps = 3,120kbps = ~3.1Mbps
- Signaling overhead (~5%): = ~0.15Mbps
- Redundancy margin (recommended +30%): = ~1.0Mbps
- Total recommended bandwidth: approximately 4.3Mbps dedicated
Security Architecture
- SBC (Session Border Controller): Deploy an SBC between the enterprise network and public internet for NAT traversal, topology hiding, and DDoS protection
- Signaling encryption: SIP over TLS (port 5061) to prevent signaling eavesdropping
- Media encryption: SRTP to encrypt voice data streams
- Access control: IP whitelisting — only allow SIP trunk provider IP addresses to connect
- Toll fraud prevention: Set international call permission whitelists, daily spending limits, and anomaly detection alerts
Monitoring Framework
Establishing a comprehensive monitoring system is key to ensuring voice quality:
| Monitoring Dimension | Key Metrics | Alert Thresholds |
|---|---|---|
| System Resources | CPU, memory, disk, network | CPU>80%, Memory>85% |
| SIP Signaling | Registration status, INVITE success rate | Reg failure>5%, INVITE failure>10% |
| Call Quality | MOS, jitter, packet loss | MOS<3.5, packet loss>1% |
| Business Metrics | ASR, ACD, concurrent calls | ASR<40%, concurrent>90% capacity |
| Security | Abnormal registrations, abnormal call patterns | >10 reg failures from same IP |
Case Study: Southeast Asia Call Center
Consider an e-commerce company operating customer service in Southeast Asia with these requirements:
- Coverage: Singapore, Thailand, Vietnam, Malaysia, Indonesia
- Agent count: 80 agents (located in Shenzhen, China)
- Monthly call volume: ~250,000 minutes (primarily outbound)
- Requirements: ASR>55%, MOS>3.8
Architecture Solution:
- Deploy FreeSWITCH cluster (active-standby) in Shenzhen data center
- Connect to Southeast Asian routes via Cainiao Voice's SIP trunking
- Assign local DID numbers in each country for local-identity outbound calling
- Use G.729 codec to save bandwidth (80 channels x 31.2kbps = ~2.5Mbps)
- Configure dual ISP uplinks for network redundancy
- Zabbix + custom scripts for call quality monitoring, 5-minute granularity MOS data collection
Results: After deployment, average ASR reached 62%, MOS stabilized at 4.0+, and monthly communication costs decreased by 65% compared to the previous solution.
References:
- RFC 3261 - SIP: Session Initiation Protocol
- ITU-T G.107 — E-Model voice quality calculation standard
- ETSI TS 102 024 — VoIP voice quality measurement methods
- FreeSWITCH Documentation — Clustering and High Availability
- Bandwidth calculator based on ITU-T G.711/G.729 codec specifications
Implementation Guides for This Architecture
Voice Quality Metrics
Use ASR, ACD, PDD, MOS, and NER to monitor route health and trigger automatic failover.
FreeSWITCH SIP Setup
Translate the architecture into gateways, dialplans, NAT handling, codecs, and operational commands.
SIP TLS and SRTP
Secure public SIP signaling and media paths with certificates, encryption, and firewall controls.
Outbound Call Center
Apply the architecture to agent concurrency, local caller ID, routing policy, and quality monitoring.
Need Help Designing Your Voice Architecture?
Cainiao Voice's technical team can provide free architecture consulting services
Free Architecture Consultation