Significant Lag Times
# support
h
Hi, we've been experiencing 3-4 second delays with responses across all client calls, it's very disruptive to the calls - is there any reasons for this?
v
To help reduce response lag, try lowering the assistant's
waitSeconds
in your speech configuration to make replies more immediate.
Here's an example of how to set this via API:
Copy code
json
{
  "startSpeakingPlan": {
    "waitSeconds": 0.4
  }
}
Apply this configuration to your assistant and test if response times improve. [See more on speech configuration](https://docs.vapi.ai/customization/speech-configuration) Sources: - [Speech configuration documentation](https://docs.vapi.ai/customization/speech-configuration) - [FAQ: Latency](https://docs.vapi.ai/faq)
c
We’d like to check in to see if you need any further assistance. We’re sorry for the inconvenience and are more than happy to help if there’s anything else you need.
h
Hi, it seemed the lag / latency was ok again for a period of time...but it's now back, all of our assistants are getting very long delays again of approx 3-4 seconds before responses Is anything going on or being worked on?
c
Could you please provide some call ids? One where it is fine and the other with the high latency/delayed response.
h
It seems to have cleared up for Twilio numbers, but we have a couple of clients using Telnyx and the latencies are really bad for those Here is a Call ID: 0199ba2f-b624-7dd1-b2d6-a2d44d6f2c58 In the recording it sounds like the user is delayed, but in the call it's actually the AI that's delayed What this appears to show to me is that the delay isn't with VAPI but Telnyx...is there any way to confirm and fix this?
c
We’ve reviewed the call lag and confirmed that the delay is happening on the customer’s side of the connection (Australia → US). Since our servers are in the US, audio from Australia has to travel a long path. To reduce this: - Configure the SIP region on your Telnyx number to Australia (Sydney/Melbourne). - If available, enable media anchoring so Telnyx keeps the audio local in Australia before forwarding it over Telnyx’s private backbone to the US. This helps avoid unnecessary internet routing and usually cuts down on jitter and delay. It won’t completely remove the natural latency between AU and US, but it should noticeably improve responsiveness.
3 Views