echoing-lamp-18687
02/19/2026, 9:59 AMtall-airline-16756
02/19/2026, 9:59 AMtall-airline-16756
02/19/2026, 9:59 AMmin_endpointing_delay and max_endpointing_delay (defaults can be 0.5s and up to 3s) increase perceived response time when voice activity detection is uncertain on lower‑quality SIP audio.
• Audio processing (noise cancellation, VAD): Extra noise suppression or conservative VAD required for telephone audio can add latency compared with cleaner web mic audio.
• Geographic and service co‑location: SIP calls coming through distant PSTN gateways or different regions increase RTT compared to a web client connecting directly to the LiveKit server.
• Call setup sequencing: Outbound SIP flows commonly wait for the SIP participant to be answered (e.g., wait_until_answered=True) before the agent joins, adding setup time not present in web chat.
Recommended optimizations (practical steps)
1. Reduce endpointing delays
◦ Try lowering min_endpointing_delay (e.g., to 0.3s) and reduce max_endpointing_delay if acceptable for your use case.
◦ Example:
session = AgentSession(
min_endpointing_delay=0.3,
max_endpointing_delay=1.5,
# ...
)
1. Use a semantic turn detector
◦ Enable a turn detector model (for example MultilingualModel) to get faster, more accurate end‑of‑turn detection on noisy SIP audio.
1. Remove intermediate carriers where possible
◦ Use LiveKit Phone Numbers / first‑party telephony instead of third‑party SIP trunks to reduce carrier hops and signaling latency.
1. Collocate services
◦ Ensure STT, TTS, and LLM services and your agent worker are deployed in the same region as the LiveKit media server to reduce RTT.
1. Minimize transcoding
◦ Keep codecs consistent end‑to‑end where practical (e.g., prefer Opus) to avoid transcoding at the bridge.
1. Monitor metrics to find the bottleneck
◦ Track Time To First Token (TTFT) and Time To First Byte (TTFB) for both SIP and web flows to see whether the delay is media transport, STT/TTS/LLM, or setup time.
1. Tune audio processing
◦ If aggressive noise suppression is enabled, test with reduced settings to see if it cuts latency without hurting recognition quality.
If you want, I can help further if you share:
• whether the ~3s is total time from caller speech to agent reply or just initial call setup time,
• your AgentSession settings (values for min_endpointing_delay / max_endpointing_delay, whether a turn detector is enabled),
• whether you’re using third‑party SIP trunks or LiveKit Phone Numbers,
• region/deployment info for the agent worker and STT/TTS/LLM services.
With any of those details I’ll suggest the most targeted next step.
Sources: sip | livekit/livekit_composite | DeepWiki | An open source stack for real-time multimodal AI | An open source stack for real-time multimodal AI | Introducing LiveKit Phone Numbers: zero to ringing in 60 seconds | examples/dtmf | livekit/livekit_composite | DeepWikiechoing-lamp-18687
02/19/2026, 10:03 AMtall-airline-16756
02/19/2026, 10:03 AMechoing-lamp-18687
02/19/2026, 10:05 AMtall-airline-16756
02/19/2026, 10:06 AMyour-project with your project’s subdomain.
1. Update SIP configuration (if using LiveKit SIP)
• If you anchor SIP to LiveKit, use the US SIP hostname:
◦ your-project.us.sip.livekit.cloud
• This keeps SIP signaling and media in the US instead of crossing regions.
1. Update your client/server code and tokens
• Update any places where you create connection URLs or sign tokens to use the new *.us.livekit.cloud host.
• Make sure any server-side code that issues LiveKit access tokens uses the US project credentials.
1. Deploy a worker in the US (if you run custom workers)
• If you run an agent worker, deploy an instance in the US region so STT/TTS/LLM and media handling are colocated with the LiveKit US edge.
1. Verify routing and latency
• Use the LiveKit connection tester or ping the *.us.livekit.cloud endpoint to check resolved IPs and RTT.
• Measure TTFT/TTFB for SIP calls after the change to confirm improvement.
Quick checklist I can help with
• Do you want to create a new US project or move an existing one?
• Are you using LiveKit Cloud only, or do you run custom workers (containers/VMs)?
• Do you need the exact places in your code to change the wss URL and token generation?
If you tell me which option you prefer (new US project vs. deploy US worker), and whether you manage workers yourself, I’ll give the exact next steps or code snippets to update your setup.
Sources: Pricing | LiveKit | Support data sovereignty in India | LiveKitechoing-lamp-18687
02/19/2026, 10:10 AMtall-airline-16756
02/19/2026, 10:10 AMechoing-lamp-18687
02/19/2026, 10:11 AMtall-airline-16756
02/19/2026, 10:11 AM