Node.js
What's next?
The complete version of the project you just built is available on Github.
The following resources will help you learn more about using WebSockets in your Voice API applications:
- The WebSockets guide
- The WebSocket protocol standard
- The Getting Started with Vonage Voice and WebSockets recorded webinar
- Articles about WebSockets on the Vonage Developer Blog
- The NCCO connect action
- The Endpoints guide
- The Voice API reference documentation
We want to hear what ideas you have in mind? Contact us at devrel@vonage.com
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?