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.

+---------------------------------------------+ | Main Data Center (Centralized) | | +--------+ +-----------+ +------------+ | | | PBX |--| SBC/Soft |--| Routing | | | | Cluster| | switch | | Engine | | | +--------+ +-----------+ | (LCR/QoS) | | | +------+-----+ | | | | +-------------------------------------+--------+ | SIP Trunks +-----------+-----------+ v v v +---------+ +---------+ +---------+ | North | | Southeast| | European| | American| | Asian | | Carriers| | Carriers| | Carriers | | | +---------+ +---------+ +---------+

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.

+--------------+ +--------------+ +--------------+ | Main Node |-----| Singapore |-----| Netherlands | | (HQ/Control) | VPN | (SEA Access) | VPN | (EU Access) | +------+-------+ +------+-------+ +------+-------+ | | | v v v Domestic Carriers Southeast Asian European Carriers Carriers

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 PlatformBest ForSIP Trunk CompatibilityScalabilityOpen Source/Commercial
AsteriskSmall-medium deployments, flexible customizationExcellentMedium (single-server limited)Open Source
FreeSWITCHMedium-large deployments, high concurrencyExcellentExcellent (clustering)Open Source
3CXSMBs, easy managementExcellentMediumCommercial
Cisco CUBELarge enterprises, existing Cisco ecosystemExcellentExcellentCommercial
AvayaTraditional large enterprisesGoodExcellentCommercial
YeastarSMBs, high valueExcellentMediumCommercial

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

CodecPayload/PacketPackets/sec (20ms)Total Bandwidth (with overhead)
G.711160 bytes5087.2 kbps
G.72920 bytes5031.2 kbps
G.722160 bytes5087.2 kbps
Opus @ 32kbps80 bytes5055.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 DimensionKey MetricsAlert Thresholds
System ResourcesCPU, memory, disk, networkCPU>80%, Memory>85%
SIP SignalingRegistration status, INVITE success rateReg failure>5%, INVITE failure>10%
Call QualityMOS, jitter, packet lossMOS<3.5, packet loss>1%
Business MetricsASR, ACD, concurrent callsASR<40%, concurrent>90% capacity
SecurityAbnormal 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:

  1. Deploy FreeSWITCH cluster (active-standby) in Shenzhen data center
  2. Connect to Southeast Asian routes via Cainiao Voice's SIP trunking
  3. Assign local DID numbers in each country for local-identity outbound calling
  4. Use G.729 codec to save bandwidth (80 channels x 31.2kbps = ~2.5Mbps)
  5. Configure dual ISP uplinks for network redundancy
  6. 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

Need Help Designing Your Voice Architecture?

Cainiao Voice's technical team can provide free architecture consulting services

Free Architecture Consultation