Extreme Latency With Telnyx Number
# support
a
Hey team, I’m seeing extreme latency (around 5+ seconds) when talking to my Vapi voice agent over the phone. Here’s the setup: Phone number is a German Telnyx DID Added it in Vapi via Add new phone number → Telnyx → Number + API key Telnyx Voice API Application is anchored in Frankfurt and uses programmable voice with Vapi webhook URLs Calls technically connect fine, but there’s a massive delay between me speaking and the agent replying Interestingly: When I listen back to the recording in Vapi, it sounds completely normal (no delay) The latency only happens live, not in the call logs or playback Could someone help me figure out why the real-time call is delayed even though the recording sounds fine? Is this something related to regional routing or how Telnyx and Vapi handle media paths? Thanks!
c
Hi AIwithTim, To integrate your Telnyx numbers with the Vapi platform, you can follow these steps: 1. **Import Telnyx Numbers**: - Ensure you have an active Telnyx account and phone numbers you want to import. 2. **Configure Outbound Calling**: - Visit the [Telnyx Portal](https://portal.telnyx.com/#/outbound-profiles). - Set up or select an outbound voice profile. - Under "Connections and Applications," add Vapi as a connection. 3. **SIP Trunk Setup**: - Log in to Vapi and navigate to Organization Settings. - In API Keys, copy your Private Key. - Go to Voice / SIP Trunking / Create, select FQDN, and configure it as
sip.vapi.ai
. - Assign your acquired phone number to the SIP trunk and set up inbound and outbound configurations as needed. For more detailed instructions, you can refer to the [Telnyx Integration](https://docs.vapi.ai/advanced/sip/telnyx) documentation. Let me know if you need further assistance.
v
Hey, I’ve handled this kind of latency before, it’s often due to Telnyx media routing or region mismatch between your DID and Voice API app. I can help you trace the RTP path and optimize the media flow for faster real-time response. Are both your Telnyx number and application set to the same EU region (Frankfurt)? @AIwithTim
c
Hi @Userplease watch out for @User . He says he knows the answer to your problem and he can help. But he will ask for money upfront. I made the mistake of doing so and never heard back from him. I already reported him in the # report-scam channel. But I wanted you to be aware of him. Cheers!
10 Views