How to Handle Inbound Phone Calls with Ruby on Rails
This tutorial continues the "Getting Started with Vonage and Ruby on Rails" series by teaching developers how to receive an inbound call using a webhook endpoint in Ruby on Rails. To follow this tutorial, developers need a basic understanding of Ruby and Rails, as well as a Vonage API account and a previously set up Vonage application. The first step is to link the Vonage Application to the purchased Nexmo number using the Vonage CLI tool, which tells Vonage to make an HTTP call to the answer_url whenever an inbound call is received. Once this is done, developers can handle the incoming call webhook by processing the payload and storing a new call record in their application database. The tutorial concludes with instructions on how to start the server, ensure ngrok is running, and make a voice call to test the setup.
Company
Vonage
Date published
May 20, 2021
Author(s)
Chris Guzman
Word count
742
Language
English
Hacker News points
None found.