Bot keeps looping and repeating messages
# support
m
Here's an example call id db391e3a-5eba-45e8-99ef-b753b643774b
m
i am facing the same issue since friday
s
@mcondie looing into it.
@Mohamed can you ping me to your #1211483291191083018 ticket please.
@mcondie After examining these additional logs, I can confirm that these issues are definitely related to Twilio drift. The evidence is clear and consistent with Bryant's initial assessment. ## Key Findings 1. **Clear Twilio Origin**: - Log entries consistently show
Drift Detected In fromTwilio
with extremely high drift values: - 14:35:16:070: Twilio drift of 3720.39ms - 14:35:25:950: Twilio drift of 800.15ms - 14:34:44:807: Twilio drift of 5660.40ms - Expected cadence is 20ms, but we're seeing delays up to 5-7 seconds 2. **Cascading Pattern Confirmed**: - Each Twilio drift is immediately followed by corresponding VAD drifts - Example: At 14:35:16:070, Twilio shows 3720.39ms drift, followed by VAD with 3740.21ms drift - This precise timing relationship confirms the causal relationship 3. **Bidirectional Twilio Issues**: - Not only
fromTwilio
but also
toTwilio
components show significant drift - This indicates problems in both receiving audio from and sending audio to Twilio 4. **Call-Worker Confirmation**: - The call-worker logs show the same pattern, with Twilio drifts cascading to other components - This consistency across different parts of your system further confirms Twilio as the root cause These logs provide definitive evidence that Twilio's audio streaming is experiencing significant delays, causing the drift issues throughout your audio processing pipeline. The pattern is unmistakable - Twilio components drift first, then other components drift by similar amounts immediately afterward. cc: @Mohamed https://cdn.discordapp.com/attachments/1351955847701336064/1351997127672205343/21f380e5-35d0-49c0-a984-f310c7eca84f.png?ex=67dc68f2&is=67db1772&hm=6090935eff4e5bdc361f20e230487190a595ec0de18c556496e540f0fc6d2a69&
@mcondie This issue is coming from the Telephony Twilio itself. You have to check with them for the complete RCA why there is a drift observed on their side. **Twilio Call SID: **CAd91acae1f00ead4842fc32358549b2d7 For now, to unblock you have to change your telephony - there is no other alternative to it. VAPI free numbers are limited to U.S. regions, so you have to look if Vonage or Telenyx provides UK numbers for immediately unblocking your business.
m
@Shubham Bajaj Are those logs internal to Vapi? Is that exposed somewhere that I can see? I'm trying to learn how we can diagnose this issue in the future
s
As of now, these logs are internal to VAPI. For the future, you can check the status page of the service providers where you believe something is wrong. We will also expose this drift log as well, so that you can identify by yourself if Telephony is down.
2 Views