Sher Jan
07/23/2025, 8:18 PMconst callConfig = {
"workflowId": "e7de2cd0-5ff8-4a32-8247-8e9e469a3802",
"phoneNumberId": "983a06ff-4d81-41cb-9f3b-219af4322427",
"customer": {
"number": phoneNumber
},
"assistantOverrides": {
"variableValues": {
"PIN": pinWithHash
}
}
};
Making VAPI Call with DTMF as First Node
============================================
Calling: +14434025957
PIN: 304722564#
Flow: Call connects → DTMF tool fires immediately → Dials 304722564#
Call ID: 35d7fa3a-c7cc-4c83-a77e-5bd8eb833858
dtmf_tool: f92b5cd0-2832-46bb-99fc-178b9318062c
{
"id": "f92b5cd0-2832-46bb-99fc-178b9318062c",
"orgId": "b45b6bc1-9635-4529-9995-88e9c8133c8f",
"function": {
"name": "dtmf_tool",
"description": "Please pass the PIN that is provided to you ",
"parameters": {
"properties": {
"PIN": {
"type": "string",
"description": "CRITICAL: Use the exact PIN value from workflow variables. This PIN must be dialed immediately. Expected format: digits followed by #. Do not leave empty."
}
},
"required": [
"PIN"
],
"type": "object"
}
},
"type": "dtmf"
}
Working state:
{
"role": "tool_calls",
"toolCalls": [
{
"id": "dcee1d97",
"type": "function",
"function": {
"name": "dtmf_tool",
"arguments": "{\"PIN\": \"623444858#\"}"
}
}
],
}
https://cdn.discordapp.com/attachments/1397674350391333025/1397674350731329596/Screenshot_2025-07-24_at_1.04.19_AM.jpg?ex=6882952c&is=688143ac&hm=19e736c6a09c458d682334305dbc80107687627c3cdfdaf37b07f628abeadec3&
https://cdn.discordapp.com/attachments/1397674350391333025/1397674351033323600/Screenshot_2025-07-24_at_1.09.46_AM.jpg?ex=6882952c&is=688143ac&hm=9aafa3360ead36f7ce25540afa27e4d331a0c8a3bbebd663d52df198b20187f8&
https://cdn.discordapp.com/attachments/1397674350391333025/1397674351372796020/Screenshot_2025-07-24_at_1.10.35_AM.jpg?ex=6882952c&is=688143ac&hm=68c576529760e6509f76f445793c78d23abd2d45f078474640b042a6c537bca1&Chiranjeet Mishra
07/28/2025, 6:26 AMSher Jan
07/28/2025, 7:48 AM{
"role": "tool_calls",
"time": 1753301192712,
"message": "",
"toolCalls": [
{
"id": "4081e84a",
"type": "function",
"function": {
"name": "dtmf_tool",
"arguments": "{\"PIN\": \"\"}"
}
}
],
"secondsFromStart": 1.103
}
- Expected the PIN to be passed from the call which was:
phoneNumber: "+14434025957"
pinWithHash: "304722564#"
{
"workflowId": "e7de2cd0-5ff8-4a32-8247-8e9e469a3802",
"phoneNumberId": "983a06ff-4d81-41cb-9f3b-219af4322427",
"customer": {
"number": phoneNumber
},
"assistantOverrides": {
"variableValues": {
"PIN": pinWithHash
}
}
- Expected response:
"toolCalls": [
{
"id": "4081e84a",
"type": "function",
"function": {
"name": "dtmf_tool",
"arguments": "{\"PIN\": \"304722564#\"}
}
}
- The response I got:
"toolCalls": [
{
"id": "4081e84a",
"type": "function",
"function": {
"name": "dtmf_tool",
"arguments": "{\"PIN\": \"\"}"
}
}Chiranjeet Mishra
07/31/2025, 6:43 AMChiranjeet Mishra
07/31/2025, 11:10 AMChiranjeet Mishra
07/31/2025, 11:12 AMSher Jan
07/31/2025, 1:57 PMChiranjeet Mishra
08/04/2025, 9:49 AM