Vapi
09/27/2024, 12:11 AMVapi
09/27/2024, 12:11 AMinput action in your VAPI NCCO (Nexmo Call Control Object) with the appropriate parameters. The input action allows you to collect DTMF tones, and you can specify parameters such as timeOut, maxDigits, and a submitOnHash flag to control the DTMF collection behavior.
Here's an example of an NCCO that includes the input action for DTMF detection:
json
[
{
"action": "talk",
"text": "Please enter your pin followed by the hash key"
},
{
"action": "input",
"maxDigits": 4,
"timeOut": 10,
"submitOnHash": true,
"eventUrl": ["https://your-webhook.url/events"]
}
]
In this example, the eventUrl would be the endpoint where VAPI sends the DTMF input results.
If you need further assistance with setting up your VAPI application to handle DTMF detection, please don't hesitate to ask for more information.Talel
09/27/2024, 5:01 AMShubham Bajaj
09/28/2024, 12:45 PMTalel
09/28/2024, 5:09 PMShubham Bajaj
10/01/2024, 5:45 AM