Node.js
Run it!
Before proceeding, ensure that:
- You have created a Vonage Application (see the prerequisites)
- You have purchased a Vonage number and linked it to your Vonage Application (see the prerequisites)
- You have installed and run Ngrok and made a note of the temporary tunnel URLs it generated for you (see the prerequisites)
- You have updated your Vonage Application with the URLs to your webhooks (as described in the preceding step)
To test your application:
- Run
node index.js - Call your Vonage number
- Listen to the menu that is read to you
- Make your selection and ensure that the response corresponds to your chosen option
- Examine the console output to see the call progress events
Build a Call Menu
Create an interactive voice response (IVR) menu to handle customer calls
Available on:
Steps
1
Introduction2
Prerequisites3
What you will build4
Install the dependencies5
Create the server6
Create the answer webhook7
Create the DTMF webhook8
Create the event webhook9
Configure your Voice application10
Run it!11
Conclusion12
What's next?