GithubHelp home page GithubHelp logo

athiwatp / voiceit-ivr-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madmahen/voiceit-ivr-demo

0.0 2.0 0.0 3.42 MB

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

JavaScript 100.00%

voiceit-ivr-demo's Introduction

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. Make sure set webhook when call comes in to the right URL and HTTP request to POST.

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
  4. Make sure the HTTP Method is set to POST

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

voiceit-ivr-demo's People

Contributors

armaanbindra avatar madmahen avatar

Watchers

James Cloos avatar athiwatp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.