Node.js
Configure your prerequisites
There are a few prerequisites that you need to complete before you can work through this tutorial. If you've already completed any of them, feel free to skip that step.
You can create a Vonage account via the Dashboard.
Within the Dashboard you can create Applications and purchase Vonage numbers. You can also perform these tasks using the Vonage CLI.
Follow the steps outlined on the Getting Started with Vonage CLI page to install and configure the command line.
Play Audio into a WebSocket
Learn how to connect an inbound Voice API call to a WebSocket, then play audio with JavaScript.
Available on:
Steps
1
Introduction to this task2
Prerequisites3
Buy a Vonage number4
Create a Voice Application5
Link a Vonage number6
Create the project7
Write your answer webhook8
Write your event webhook9
Create the WebSocket10
Test your application11
What's next?