Ruby
Introduction
The Vonage Voice API is the easiest way to build high-quality voice applications in the Cloud. In this tutorial you will learn how to stream pre-recorded audio into both inbound and outbound calls using Ruby and the Vonage Voice API.
This tutorial provides step by step instructions showing you how to:
- Set up a Vonage account
- Create a Vonage Application
- Configure a Vonage Application
- Create an Sinatra application
- Add the Vonage Ruby SDK to it
- Receive a call and play audio into it
- Place a call and stream audio into it
Play Audio into a Call with Ruby
A tutorial showing you how to build an app that will play audio into a PSTN call
Steps
1
Introduction to this tutorial2
Prerequisites3
Create the Project Folder and Files4
Install Vonage Ruby5
Require Dependencies6
Initialize Vonage Client7
Add Environment Variables8
Define Constant Variables9
Create Routes10
Run the Ruby App11
What's Next?