A NodeJS and Twilio Based IVR Demo, showing an integration example between VoiceIt and twilio APIs
- Twilio Account -- Twilio Developer Registration
- VoiceIt Account -- VoiceIt Developer Registration
- Heroku Account for hosting app -- Heroku Developer Registration
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.
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.
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.
npm install
- Set the environment variable
VOICEIT_DEVELOPER_ID
to your VoiceIt DeveloperId andVOICEPRINT_PHRASE
to a phrase that you have pre - approved in your VoiceIt console andCONTENT_LANGUAGE
to associated contentLanguage npm start
- Point a Twilio Phone number to VoiceURL to your
http://app-name-here/incoming_call
$ 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