Node.js
Create the project
Make a directory for your application, cd into the directory and then use the Node.js package manager npm to create a package.json file for your application's dependencies:
mkdir myapp cd myapp npm init
Press [Enter] to accept each of the defaults.
Then, install the express web application framework, express-ws and body-parser packages:
npm install express express-ws body-parser
Connect to a WebSocket
Connect an inbound call to a WebSocket with the Voice API
Steps
1
Introduction2
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
Create your server11
Test your application12
Conclusion13
What's next?