https://retellai.com/?utm_source=discord&utm_medium=seo logo
Is the AI assistant able to detect when there’s a ...
# ❓・ai-evy-support
d
@AI Evy Is the AI assistant able to detect when there’s a dial tone on the line and understand that it’s a dial tone?
a
Thanks for tagging me @dropsofsteel. I'll look through relevant sources and get back to you shortly.
### Answer Currently, Retell AI has limitations with dial tone detection, particularly with VoIP calls [(1) ]() [(2) ]() . The AI agent starts talking once it detects a connection, but VoIP systems sometimes have ring tones after the connection is established, which can cause the AI to begin speaking while the line is still ringing . This is a known edge case that Retell AI hasn't fully addressed yet [(1) ]() . The current behavior is that the AI starts to talk once connected, but it doesn't distinguish between an actual answered call and a VoIP connection with ongoing ring tones [(1) ]() [(2) ]() . A potential workaround mentioned is to set the AI to remain silent until the user talks first, which can help solve this issue [(1) ]() . However, ring tone detection for VoIP calls is currently on Retell AI's roadmap for future development [(2) ]() .
​ To learn more, see the sources I considered: [[1] AI speaking over int'l dial tone](https://discord.com/channels/1186424376300679209/1329254308931309600) [[2] Retell thinks the VoIP call has started when it didn't](https://discord.com/channels/1186424376300679209/1324005640682606594) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
The AI agent starts talking once it detects a connection, but VoIP systems sometimes have ring tones after the connection is established, which can cause the AI to begin speaking while the line is still ringing . - why it's happening?
@AI Evy The AI agent starts talking once it detects a connection, but VoIP systems sometimes have ring tones after the connection is established, which can cause the AI to begin speaking while the line is still ringing . - why it's happening?
a
Thanks for the follow-up, @dropsofsteel. I'll get back to you soon.
### Answer This happens because of how VoIP systems handle call connections differently than traditional phone systems [(1) ]() . When Retell AI makes a call to a VoIP number, the system thinks the call has already started as soon as it detects any audio signal, including the ringback tone . The technical issue is that VoIP apps often play ring tones after the connection is established [(1) ]() [(2) ]() . From Retell AI's perspective, once it receives this audio signal (even if it's just the "beep-beep" ringback tone) , it interprets this as the call being connected and ready for conversation [(1) ]() . This causes the AI agent to begin speaking before the person has actually picked up the phone [(2) ]() . This is a known limitation with VoIP systems where the system thinks it's connected as soon as it hears any audio signal, rather than waiting for the actual human to answer . The continuous "beep-beep" sound from the ringback tone can even potentially trigger false voicemail alerts [(1) ]() . Currently, you can work around this by configuring your agent to wait until the user responds first, rather than having it begin with a defined message immediately upon connection [(2) ]() . Ring-tone detection for VoIP calls is on Retell AI's roadmap for future development [(1) ]() .
​ To learn more, see the sources I considered: [[1] Retell thinks the VoIP call has started when it didn't](https://discord.com/channels/1186424376300679209/1324005640682606594) [[2] Agent starts speaking before the client has picked up](https://discord.com/channels/1186424376300679209/1306270481208315944) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy so it occurs only when destination number is voip?
a
Thanks for the follow-up, @dropsofsteel. I'll get back to you soon.
### Answer Based on the available sources, I don't have specific information about whether this dial tone detection issue occurs exclusively with VoIP destination numbers versus traditional phone numbers. The sources focus on general VoIP integration capabilities and agent configuration options, but don't provide detailed comparisons between different destination number types for call handling behavior [(1) ]() [(2) ]() [(3) ]() . The sources do discuss VoIP integration extensively, including how Retell AI works with various VoIP providers like Twilio, Telnyx, and others . They also cover SIP trunking methods and custom telephony configurations [(3) ]() , but don't specifically address the dial tone detection differences between VoIP and traditional phone destinations. For configuration options that might help with call timing issues, you can adjust settings like
begin_message_delay_ms
to delay the first message by a specified amount of milliseconds [(4) ]() [(5) ]() [(6) ]() :
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
  begin_message_delay_ms: 1000
}) ;
[(4) ]() This gives users more time to prepare before the agent begins speaking, which could help with timing issues regardless of the destination number type [(4) ]() [(5) ]() [(6) ]() . I'd recommend checking with Retell AI support for specific details about how dial tone detection behaves with different destination number types.
​ To learn more, see the sources I considered: [[1] Enterprise VoIP Integration for AI Calling Success | Retell AI | Retell AI](https://www.retellai.com/blog/enterprise-voip-integration-with-ai-calling) [[2] Top 10 VoIP Providers for AI Phone Agents | Retell AI](https://www.retellai.com/blog/top-10-best-voip-providers-that-work-best-with-ai-phone-agents) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[4] Create Agent](https://docs.retellai.com/api-references/create-agent) [[5] Update Agent](https://docs.retellai.com/api-references/update-agent) [[6] 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.