Acknowledging your setup: agents in LiveKit Cloud (us‑east) and Telnyx SIP in us‑east. Below are concise, labeled estimates and a straightforward test plan so you can measure real differences in your environment.
Estimated latency (illustrative ranges, not guaranteed)
• LiveKit Phone Numbers (direct → LiveKit Cloud us‑east)
◦ Rough estimate one‑way PSTN→agent: ~20–80 ms
◦ Rough estimate round‑trip audio: ~40–160 ms
◦ Behavior: lower variance, more consistent audio quality
• Telnyx SIP (Telnyx us‑east → LiveKit Cloud us‑east)
◦ Rough estimate one‑way PSTN→agent: ~70–350 ms (depends on provider processing and hops)
◦ Rough estimate round‑trip audio: ~140–700 ms
◦ Behavior: higher jitter and variability due to extra SIP trunking hops and provider processing
These are illustrative: actual numbers depend on carrier processing, SIP trunk config, codec negotiation, and transient network conditions.
Simple test plan to measure actual differences
1. Create a short test tone (e.g., 1 kHz, 1 s) and record timestamps at caller and agent ends, or use a voice loopback test.
2. Test A — LiveKit Phone Numbers → agent in LiveKit Cloud us‑east:
◦ Place multiple calls (10–20) and record one‑way and round‑trip times, packet loss, and jitter.
1. Test B — Telnyx SIP us‑east → agent in LiveKit Cloud us‑east:
◦ Repeat same calls using your Telnyx trunk to the same agent and record metrics.
1. Compare medians and 95th percentiles for latency, jitter, and loss to see typical and worst‑case differences.
If you want, I can:
• Provide a short script/instructions to generate the tone and compute one‑way and RTT from recordings, or
• Interpret results if you paste the measured median and 95th‑percentile latency/jitter/loss.
Which help would you like?
Sources:
https://blog.livekit.io/introducing-livekit-phone-numbers-zero-to-ringing-in-60-seconds/#/portal| |
Introducing LiveKit Inference: A unified model interface for voice AI