ʕ•ᴥ•ʔノ ♡
04/03/2025, 7:19 AMVapi Support Bot
04/03/2025, 7:20 AMdtmf function. According to the [documentation](https://docs.vapi.ai/tools/default-tools), Vapi voice assistants are equipped with this function to capture Dual-Tone Multi-Frequency (DTMF) signals, which are the tones generated when a user presses keys on their phone's dialpad.
To enable this functionality, you need to add the dtmf tool to your model's tools array in your assistant configuration, like this:
json
{
"model": {
"provider": "openai",
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You are an assistant at a law firm. When you hit a menu, use the dtmf function to enter the digits."
}
],
"tools": [
{
"type": "dtmf"
}
]
}
}
However, I should mention that according to [user reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336445863404372018), the dial keypad function has exhibited some instability and may not be working as expected. Some users have found alternative approaches more reliable, such as:
1. Using IVR navigation and then transferring the call to Vapi
2. Using Twilio Flex for IVR navigation before transferring to Vapi
3. Using webhooks instead of the Vapi module directly
Is there anything specific you're trying to implement with dialpad inputs that I can help with further?
Sources:
- [Default Tools Documentation](https://docs.vapi.ai/tools/default-tools)
- [Function Calling Documentation](https://docs.vapi.ai/assistants/function-calling)
- [Discord Thread 1336445863404372018](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336445863404372018)Vapi Support Bot
04/03/2025, 7:20 AMKyle
04/06/2025, 9:21 AM