Skip to content

bld010/superclass-voice-demo-2021.07.15

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a quick Programmable Voice demo using Node, Express.js, and the Twilio Node Helper library.

Requirements

If you'd like to try out this repo on your own, there are some prerequisites:

  1. Nodejs version 14.0 or higher.
  2. Purchase a Twilio Phone Number
  3. Download ngrok in order to expose your local development server to the internet.
  4. npm
  5. nodemon

Set Up

  1. Clone this repo using the following command in your terminal: git clone https://github.com/bld010/superclass-voice-demo-2021.07.15.git
  2. In your terminal, change into the repo's directory using the following command: cd superclass-voice-demo-20201.07.15
  3. Run npm install to install the dependencies
  4. Run nodemon server.js to run your server locally.
  5. In a new terminal window, run http ngrok 3000. Take note of the https url shown.
  6. Go to the Twilio Console > Active Numbers, click on your phone number, and scroll down to Voice & Fax.
  7. Scroll down to A CALL COMES IN and select Webhook, enter your ngrok https url with /welcome on the end (example: https://12345.ngrok.io/welcome), and select HTTP POST.
  8. Click save.

You should now be able to dial your Twilio Number and hear the poll, be able to respond to the poll, and leave a voice recording.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published