https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can I program the ai agent to handle company a...
# ❓・ai-evy-support
c
@AI Evy How can I program the ai agent to handle company answering machines that ask the caller to press 0 to speak with the operator for example.
a
Thanks for tagging me @clientele3617. I'll look through relevant sources and get back to you shortly.
### Answer To program your AI agent to handle company answering machines that request pressing digits (like "press 0 to speak with an operator") , you need to enable DTMF (Dual-Tone Multi-Frequency) input navigation [(1) ]() . Steps to Set Up: 1. Add a Press Digit Tool to give your agent the ability to press digits . The description is optional, but you can specify when and what digits to press . 2. Add Prompts to guide the agent on when and what digit to press . You can write prompts like: - "You are going to call to a business and they may have IVR setup. Listen carefully to their setup and press the right digit to navigate the IVR to reach the support department." - Or if you know the digit beforehand: "Press digit 1 to reach the support department." 3. Test by placing an outbound call to a number with an IVR system, or call yourself and mimic the IVR by saying phrases like "Press 1 for xxx" . Important Note: This functionality only works with Call API v2 . If you're using older API versions, you'll need to migrate following the migration guide . The agent can navigate IVR systems that take DTMF input (what gets sent when you press digits on the phone keypad) , which is exactly what you need for handling answering machines requesting digit presses.
​ To learn more, see the sources I considered: [[1] Press digit (IVR navigation)](https://docs.retellai.com/build/single-multi-prompt/press-digit) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.