TwilioDevEd / browser-dialer-vue

A browser-based dialer interface powered by Vue.js and Twilio Client
https://www.twilio.com/docs/tutorials/walkthrough/browser-dialer/node/vue
MIT License
27 stars 19 forks source link
twilio-voice

Twilio

Browser Dialer - Vue.js

Build Status

Prerequisites

  1. Node.js (version 6 or higher)
  2. A Twilio account with a verified phone number. (Get a free account here.) If you are using a Twilio Trial Account, you can learn all about it here.

Local Development

  1. First clone this repository and cd into it.

    $ git clone git@github.com:TwilioDevEd/browser-dialer-vue.git
    $ cd browser-dialer-vue
  2. Copy the sample configuration file and edit it to match your configuration.

    $ cp .env.example .env

    You can find your TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN in your Twilio Account Settings. You will also need a TWILIO_NUMBER, which you may find here, and you may find your TWILIO_TWIML_APP_SID here.

  3. Install dependencies.

    $ npm install
  4. Run the application.

    $ npm start
  5. Expose the application to the wider Internet using ngrok.

    $ ngrok http 3000

    Once you have started ngrok, update your App voice URL setting to use your ngrok hostname. It will look something like this:

    http://<your-ngrok-subdomain>/voice

Meta