https://retellai.com/?utm_source=discord&utm_medium=seo logo
I have the agent configured with the right script ...
# ❓・ai-evy-support
c
@AI Evy I have the agent configured with the right script when i test inside the retell AI test audio area the interruption works good but when i call to my number and test the interruption is not working it keeps on speaking
a
Thanks for tagging me @chavan_36165. I'll look through relevant sources and get back to you shortly.
### Answer This is a known issue where interruption behavior differs between test audio and live phone calls [(1) ]() . There are several factors that can cause this difference: Background Noise and Audio Quality Phone calls often face audio quality challenges that don't exist in test environments [(2) ]() . The denoising mode setting can impact interruption handling - you can try adjusting it to "remove noise + background speech" mode if your calls have loud background speech . Interruption Sensitivity Configuration You can configure the interruption sensitivity to improve interruption handling . Set it lower if you want the agent to be more resilient to background speech or user interruptions . You can adjust this in your agent settings: - Set the "Interruption Sensitivity" to 0.8 - This setting helps the agent reduce false interruptions from background speech and noise For extremely noisy environments, you may need to experiment with even higher settings, though note that this will hinder the ability of your agent to be interrupted . Testing Environment Differences The testing comparison shows that Web/Phone Call Testing validates interruption handling while other testing methods don't [(3) ]() . This explains why your test audio works but live calls don't - the test environment doesn't fully replicate real-world telephony conditions . Turn-Taking Model The issue may also be related to the turn-taking model implementation [(1) ]() . A better turn-taking model can accurately detect the end of a user's turn, preventing the AI from interrupting or prematurely responding .
Try adjusting your
interruption_sensitivity
setting first, as this is the most direct way to control interruption behavior in live calls [(2) ]() [(4) ]() [(5) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Troubleshooting AI Voice Agent Issues | Retell AI](https://www.retellai.com/blog/troubleshooting-common-issues-in-voice-agent-development) [[2] Handle background speech & noise](https://docs.retellai.com/build/handle-background-noise) [[3] Testing Overview](https://docs.retellai.com/test/test-overview) [[4] Update Agent](https://docs.retellai.com/api-references/update-agent) [[5] Get Agent](https://docs.retellai.com/api-references/get-agent) ​
c
@AI Evy i tried but still its the same
a
Thanks for the follow-up, @chavan_36165. I'll get back to you soon.
### Answer Since adjusting
interruption_sensitivity
didn't resolve the issue, let's explore other settings that can affect interruption handling in live calls. Additional Settings to Try: 1. Responsiveness Setting Lower the
responsiveness
value to make the agent wait longer before responding [(1) ]() [(2) ]() . This gives users more time to interrupt:
Copy code
javascript
const agentResponse = await client.agent.update('your_agent_id', { 
  responsiveness: 0.7  // Lower value = less responsive, more time to interrupt
}) ;
[(2) ]() The
responsiveness
parameter controls how responsive the agent is, with values ranging from [0,1] [(1) ]() [(2) ]() . Lower values mean the agent waits more and responds slower, while higher values mean faster exchanges . 2. Voice Speed Configuration Slower speech gives users more opportunity to interrupt :
Copy code
javascript
const agentResponse = await client.agent.update('your_agent_id', { 
  voice_speed: 0.8  // Slower speech rate
}) ;
[(2) ]() The
voice_speed
parameter ranges from [0.5,2], where lower values mean slower speech [(1) ]() [(2) ]() . 3. Denoising Mode Try the more aggressive denoising setting :
Copy code
javascript
const agentResponse = await client.agent.update('your_agent_id', { 
  denoising_mode: "noise-and-background-speech-cancellation"
}) ;
[(2) ]() This setting has two options:
noise-cancellation
and
noise-and-background-speech-cancellation
[(1) ]() [(2) ]() . 4. Interruption Sensitivity Range The
interruption_sensitivity
can be set to decimal values between 0 and 1, not just 0 or 1 [(3) ]() . Try values like 0.7 or 0.8 [(1) ]() [(2) ]() [(3) ]() :
Copy code
javascript
const agentResponse = await client.agent.update('your_agent_id', { 
  interruption_sensitivity: 0.7
}) ;
[(2) ]() 5. Backchannel Settings Disable backchannel to reduce agent interjections [(1) ]() [(2) ]() :
Copy code
javascript
const agentResponse = await client.agent.update('your_agent_id', { 
  enable_backchannel: false
}) ;
[(2) ]() When
enable_backchannel
is true, the agent interjects with phrases like "yeah", "uh-huh" which might interfere with interruption detection [(1) ]() [(2) ]() . Try these settings in combination, starting with lowering
responsiveness
to 0.7 and
voice_speed
to 0.8, as these directly impact how much time users have to interrupt the agent.
​ To learn more, see the sources I considered: [[1] Get Agent](https://docs.retellai.com/api-references/get-agent) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] For update_agent, cant set interruption_sensitivity to non 0 or 1 value](https://discord.com/channels/1186424376300679209/1251066881411125288) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy no its still the same
a
Thanks for the follow-up, @chavan_36165. I'll get back to you soon.
### Answer Since the previous suggestions haven't resolved the interruption issue, let's try some additional configuration options from the Retell AI API: Try Setting Interruption Sensitivity to 0 When
interruption_sensitivity
is set to 0, the agent would never be interrupted [(1) ]() [(2) ]() . This might seem counterintuitive, but try temporarily setting it to 0 to see if this changes the behavior, then gradually increase it:
Copy code
javascript
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { 
  interruption_sensitivity: 0
}) ;
[(2) ]() STT Mode Configuration Try switching to accurate mode for better speech recognition [(1) ]() [(2) ]() :
Copy code
javascript
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { 
  stt_mode: "accurate"
}) ;
[(2) ]() The
stt_mode
determines whether speech to text should focus on latency or accuracy, with options
fast
or
accurate
[(1) ]() [(2) ]() . Language Setting Ensure your language setting matches your testing environment :
Copy code
javascript
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { 
  language: "en-US"
}) ;
[(2) ]() Vocabulary Specialization If you're using medical or specialized terminology, try adjusting this setting [(1) ]() [(2) ]() :
Copy code
javascript
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { 
  vocab_specialization: "general"
}) ;
[(2) ]() Since the test environment works but live calls don't, this suggests a telephony-specific issue. If these settings don't help, you may need to contact Retell AI support directly as this could be related to your specific phone carrier or network conditions that aren't covered in the available configuration options. **
​ To learn more, see the sources I considered: [[1] Get Agent](https://docs.retellai.com/api-references/get-agent) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy How to get in touch with Retell Ai's Support directly ?
a
Thanks for the follow-up, @chavan_36165. I'll get back to you soon.
### Answer To get in touch with Retell AI support directly, you can: Visit [Contact Sales]() Visit [) Since your interruption issue persists despite trying multiple configuration adjustments, contacting support directly would be the best next step as this may be related to specific telephony conditions or carrier-specific behavior that requires individual troubleshooting. Would you like a general answer based on my knowledge instead?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
message has been deleted