Very Long Latency / Delays
# support
h
Hi, many of our assistants are seeing very long lag times and latency in responses, often 3-4 seconds plus This seems to be across several of our assistants (but just tested one where it was all good), we're using mostly Twilio numbers but also one is using Telnyx Is there anything going on with the system causing the additional latency as it's extremely disruptive for us and our clients
v
Thank you for reporting the latency issue. To help us investigate, could you please provide a recent Call ID and timestamp from one of the affected calls where you observed the 3–4 second delay? This will allow us to review the logs and pinpoint the cause more effectively. Sources: - [Vapi Debugging Guide](https://docs.vapi.ai/debugging) - [Vapi FAQ](https://docs.vapi.ai/faq) - [Vapi Issue Reporting](https://docs.vapi.ai/issue-reporting)
h
Sure thing and thank you - also to note on this, when listening to the call recording and reviewing the waveforms, it looks and sounds like the caller is taking a long time to respond. But when being the caller that delay is actually from not getting a response. In the call ID I'll give you, the call appeared to end pre-maturely as well as the call cut off as the AI was speaking, but from the log / recording side it sounds like the AI said what it needed to say before ending the call but that's not what happened Here is the Cal ID: cd94ec8e-ce09-4685-ae7c-6b4ab0a0d942 No need for timestamps as its during the entire call
Also did another call and the ID is below, you'll see how it delays and then cuts off at the end From the recording it looks like I was slow to reply but I was replying as soon as the AI turn ended, as you'll here with the 'ums' and 'ahs' Call ID: b05dbda8-ad85-42c3-8c82-6771d01453cb
l
Thanks for sharing the details and call IDs. I can definitely help dig into what’s causing the delays and call cut-offs. From what you described, it may be tied to how the carrier is handling the audio stream or timing on the assistant side. Just to help narrow it down, are you noticing this happen mostly on Twilio numbers or with Telnyx as well? @Heckin_Concern
h
Awesome thanks @Lordvickthor, it's mostly Telnyx. We also had another issue where the audio coming into Vapi from the caller was very garbled from them, but that seems to be ok now. It is happening with Twilio though too, but more Telnyx
l
Got it, thanks for clarifying. So the delays are showing up more with Telnyx, and Twilio too but less often, and the garbled audio issue seems to have settled down. I can help look deeper into both the latency and the audio stream handling to see what’s behind it. Let’s discuss this more privately so we can dig into the details together.
@Heckin_Concern
h
Thanks sounds good @Lordvickthor, where did you want to do that
l
Perfect, let’s do WhatsApp then. You can reach me directly at +2348141449023 and we can continue the chat there.
@Heckin_Concern
h
Ok sounds good will message there now