Skip to content

A NodeJS and Twilio Based IVR Demo, showing an integration example between VoiceIt and twilio

Notifications You must be signed in to change notification settings

madmahen/voiceit-ivr-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voiceit-ivr-demo

A NodeJS and Twilio Based IVR Demo, showing an integration example between VoiceIt and twilio APIs

Pre-Requisites

One Click Install - Heroku

This will install the application and all the dependencies on Heroku (login required) for you. As part of the installation, the Heroku app will walk you through configuration of environment variables. Please click on the following button to deploy the application.

Deploy

After installation you also need to log in to your twilio account and point a purchased phone number to this new application like shown below.

API Key and Token

You can now call the twilio number you have pointed to the application and try out the demo, and modify it as desired for your own use case.

Manual Install

Install

npm install

Configure

  1. Set the environment variable VOICEIT_DEVELOPER_ID to your VoiceIt DeveloperId and VOICEPRINT_PHRASE to a phrase that you have pre - approved in your VoiceIt console and CONTENT_LANGUAGE to associated contentLanguage
  2. npm start
  3. Point a Twilio Phone number to VoiceURL to your http://app-name-here/incoming_call

Deploy to Heroku

$ heroku create
$ git push heroku master
$ heroku config:set VOICEIT_DEVELOPER_ID=123456abcdef123456 VOICEPRINT_PHRASE='Never forget tomorrow is a new day' CONTENT_LANGUAGE=en-US

About

A NodeJS and Twilio Based IVR Demo, showing an integration example between VoiceIt and twilio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published