Giter Club home page Giter Club logo

flex-did's Introduction

Flex Direct Inward Dial

Screen Shot 2021-01-10 at 10 59 37 PM

Creates a Direct Inward Dial (DID) setup for Twilio Flex. Each agent can be assigned a number, and calls to that number will go directly to that agent. Outbound calls will come from that agent's assigned number.

Screen Shot 2021-01-10 at 11 02 48 PM

Setup

Flex DID configures inbound phone numbers with a Studio Flow and TaskRouter Workflow that matches tasks to workers using a shared phone_number attribute.

Not supported or maintained by Twilio. MIT License.

Initial setup

$ git clone https://github.com/cweems/flex-did.git
$ cd flex-did
$ npm install
$ cp .env.example .env

# Add your Twilio API Key and Secret to .env

Twilio Account Configuration

Twilio Account configuration in one command:

$ npm run flex-did-setup-all

Run each command separately:

$ buy-numbers
$ workflow-setup
$ studio-setup
$ update-numbers

Agent Attribute / SSO Configuration

Add a phone_number attribute to one of your TaskRouter workers with an e.164 phone number. Or, configure your SSO system to provide the phone_number attribute when an agent logs in.

Twilio Flex Plugin Testing and Deployment

From the flex-did directory, run the following to start your dev environment:

$ cd plugin-flex-did
$ npm install
$ twilio flex:plugins:start

To deploy the plugin, run:

$ twilio flex:plugins:deploy --changelog "Deploying flex-did"

$ twilio flex:plugins:release --plugin [email protected] --name "Flex DID" --description "Provides direct inward dial functionality."

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.