harmonious_eagle_17735
# office-hours
c
@Vapi I need the user to pass a long number ID to the agent. I want the user to enter it in the keypad for accuracy. Is this possible?
v
@cdv Yes, absolutely! If the dialKeypadFunctionEnabled is enabled on your assistant, the user can enter their long number ID using the keypad. This will ensure accuracy in capturing the number. If you need to initiate this function right now, please provide the necessary instructions or context, and I'll be happy to assist further.
c
@Vapi The context is that when the assistant asks for their ID, the user would enter it into the keypad, and when they are done, the assistant would use it to look up details. Where does the dialKeypadFunctionEnabled get set, and how does using it work?
v
@cdv The
dialKeypadFunctionEnabled
is typically a setting that would be configured by the voice application developer or administrator within the VAPI (Voice API) platform. It's not something that can be set through a user interaction; rather, it's a feature that needs to be enabled in the backend system or through the platform's settings. Once
dialKeypadFunctionEnabled
is set, the assistant can prompt the user to enter their ID using the keypad. The user's touch-tone keypad entries (DTMF tones) are captured by the system. After the user finishes entering their ID, the assistant can then use that input to look up the user's details. The actual implementation details of how the assistant captures and processes the keypad input would depend on the specific Voice API platform you're using. If you're looking to enable this feature or need more information on how to use it, you should consult the documentation for the specific Voice API platform you are working with or reach out to their support team for assistance.
c
@Vapi What do you mean by Voice API?
v
@cdv A Voice API (Application Programming Interface) is a set of protocols and tools for building software applications that can initiate and receive phone calls, manage call control, and enable voice interactions. It allows developers to integrate voice capabilities into their applications or services, enabling functionalities such as automated phone surveys, call routing, voice recognition, and conversational AI. Voice APIs are used to create systems where users can interact with an application through voice commands or by using telephone keypads. They are commonly used in customer service solutions, interactive voice response (IVR) systems, virtual assistants, and other telephony-based services. In the context of VAPI, the Voice API would provide the core components such as Transcriber, Model, and Voice, which can be configured and used by voice developers to create custom voice interaction experiences. It would also offer various other configurable properties and advanced features to meet specific use cases.
c
@Vapi How does keypad work if I bought a Twilio number through Vapi?
v
@cdv If you've purchased a Twilio number and are using it through VAPI, the keypad functionality would work as follows: 1. DTMF (Dual-Tone Multi-Frequency): When a user presses a key on their phone's keypad during a call, it sends a signal known as DTMF. Each key pressed corresponds to a specific tone that the system can recognize. 2. Capture Input: VAPI would be configured to listen for these DTMF tones. When the assistant prompts the user to enter their ID, the user would use the phone's keypad to input their number. 3. Processing Input: Once the user has finished entering their ID, VAPI would process the received DTMF tones and convert them into the actual digits that were pressed. 4. Use of Input: The entered digits (the user's ID) can then be used within the application to look up details, authenticate a user, or perform other actions as required by the application's logic. To enable this functionality, you would need to set up your VAPI application to handle incoming DTMF inputs. This typically involves configuring a webhook that will be notified when a user inputs DTMF tones, and writing the logic to handle the input accordingly. If you need specific instructions on how to set this up within VAPI using your Twilio number, you should refer to the VAPI documentation or reach out to VAPI support for more detailed guidance.
c
@Vapi everything online seems to say that the dialKeypadFunctionEnabled is for the assistant to dial keypad digits. Are you sure this allows the user to enter digits? Can you link me to the right documentation?
v
@cdv I apologize for the confusion. If the information available online indicates that
dialKeypadFunctionEnabled
is for the assistant to dial keypad digits, then it is likely that this function is intended to allow the assistant to interact with other systems via DTMF tones, rather than for capturing user input. Unfortunately, as an AI, I'm unable to provide direct links to documentation. However, to find the correct documentation, you would typically visit the official website of the Voice API provider or the service you are using (in this case, VAPI if it's a specific product, or Twilio if you're referring to their services). From there, you can search for guides or API references related to DTMF and user input handling. For accurate information and assistance with the
dialKeypadFunctionEnabled
setting and how to enable user input via keypad, please reach out to the support team of your Voice API provider. They will be able to provide you with the most accurate and up-to-date information.
s
@cdv as of now we don't allow accepting user input through keypad or keypresses.