A customer says their phone agent sometimes goes silent or talks over callers. Diagnose across telephony, speech recognition, the model, the prompt and integrations.
Theme reported publicly: PolyAI
Answer
Model answer, written in a candidate's voice
In short
- Pull per-call traces with timestamps per stage: audio in, VAD/endpointing, ASR partial/final, LLM TTFT, tool calls, TTS first audio, playback.
- Silence: slow tool/integration on the critical path, LLM timeout, TTS failure, SIP/RTP issues (codec, one-way audio), endpointing waiting for a turn end that never comes.
- Talking over: endpointing too aggressive for hesitant callers, barge-in not cancelling TTS/generation, echo picked up as speech.
- Check prompt/turn-taking rules and integrations for over-eager or missing barge-in behaviour.
- Fixes: per-stage timeouts with filler responses, tuned endpointing per use case, cancellation paths, co-located infrastructure, regression set from real failed calls.
In full
I would start by pulling per-call traces with timestamps for each stage — audio in, VAD/endpointing, ASR partial and final, LLM time-to-first-token, tool calls, TTS first audio, and playback — so I can see whether the gap is in the network, the model, or the integration rather than guessing. Silence usually points to a slow tool or integration call on the critical path, an LLM timeout, a TTS failure, SIP/RTP problems such as codec mismatch or one-way audio, or endpointing waiting for a turn end that never arrives; talking over usually points to endpointing that is too aggressive for hesitant callers, barge-in that does not cancel TTS or generation, or echo being picked up as speech. I would also review the prompt and turn-taking instructions, since an over-eager “respond immediately” style or missing barge-in rules can make the agent interrupt even when the caller is still speaking. The fixes are per-stage timeouts with filler responses, endpointing tuned per use case, explicit cancellation paths for barge-in, co-located infrastructure to cut latency, and a regression set built from real failed calls so the fix does not regress other callers. I would not change anything until the traces show which stage is actually failing, because the same symptom can come from very different places.
What a strong answer covers
- Pull per-call traces with timestamps per stage (audio in, VAD/endpointing, ASR partial/final, LLM TTFT, tool calls, TTS first audio, playback)
- Silence: slow tool/integration call on the critical path, LLM timeout, TTS failure, SIP/RTP issues (codec, one-way audio), endpointing waiting for a turn end that never comes
- Talking over: endpointing too aggressive for hesitant callers, barge-in not cancelling TTS/generation, echo picked up as speech
- Fixes: per-stage timeouts with filler responses, tuned endpointing per use case, cancellation paths, co-located infrastructure; regression set from real failed calls
Common mistakes
- Assuming the LLM is the problem
- using averages instead of per-call timelines