dialKeypadFunctionEnabled support?
# support
t
I've been trying to get a transient agent to dial numbers on the keypad to navigate phone systems but I can't get anything to work. I see the limited documentation about
Copy code
dialKeypadFunctionEnabled
flag for api calls. But there's nothing I can find on how to use it. Please help if there's some more details on how to make this work.
v
Hi @The Reverend, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Create Phone Call]() * [Create Assistant]() * [Function Calling]() * [Get Assistant]() -----------------------------
### Answer The
dialKeypadFunctionEnabled
flag allows an assistant to dial digits on a keypad during a phone call, which is essential for navigating through phone menus or automated systems. To utilize this functionality, you need to enable it in the assistant settings when creating or updating an assistant. Here's a brief example of how you might set this up in your API call:
Copy code
json
{
  "dialKeypadFunctionEnabled": true
}
[(1)]() Once this feature is enabled, your assistant can interact with phone systems that require DTMF (Dual-Tone Multi-Frequency) inputs. However, the specific implementation details—like how to instruct the assistant to dial a sequence during a call—might depend on additional scripting or configuration in your assistant's logic. For more detailed guidance and examples on setting up your assistant with this capability, you can refer back to the Vapi documentation on assistant creation or updating where this feature is described . If you need further customization or encounter any specific issues, the documentation also covers creating custom functions that might be used to extend the capabilities of your assistant . Feel free to explore these parts of the documentation to better integrate and utilize the
dialKeypadFunctionEnabled
feature.
Got it. Tagging @User for additional help.
t
Yes I've already seen that documentation but there's not enough there to tell use how to use it. I need some more insight. Does it work like calling a tool or function calling?
s
You just need to say, "Use DTMF Function" and do X similar to function calling, and it will work.
t
OK that worked. Just had to prompt it like you said. Nice! Thank you!
This doesn't seem to work with anything but OpenAI models. I've tested with Groq using Mixtral 8x7b and Llama3 70b which both support function calling. But the DTMF Function only seems to work with OpenAI which is significantly slower, as well as more expensive. I notice a giant different in latency on the calls as well. Am I missing something or is Groq function calling not available on Vapi yet?
v
Got it. Tagging @User for additional help.
s
It is done via function calling and it is not supported in Groq. Due to which it doesn’t work.
t
Ah ok. I'll work around it. Thanks!
s
Is VAPI server down right now? My calls are breaking up a lot. 59658f23-877f-44c6-859b-2c20dc5ee907
23 Views