#Dialpad
Make outbound calls using Flex!
git clone https://github.com/lehel-twilio/plugin-dialpad.git
npm install
make patch
cp public/appConfig.example.js public/appConfig.js
Edit public/appConfig.js and add your accountSid and runtime domain (without protocol [http/https])
Go to your Twilio Functions and deploy the functions in the /functions directory.
In the Function Configuration tab you will need to make your credentials available in your Function code by checking the Enable ACCOUNT_SID and AUTH_TOKEN
option. Additionally, you will need two configure two environment variables:
TWILIO_WORKSPACE_SID
Out of the box, Flex Task Assignment
is the only available Workspace
TWILIO_WORKFLOW_SID
Out of the box, Assign to Anyone
is the only available Workflow
RUNTIME_DOMAIN
this is the name of your Twilio domain, for example https://zaffre-cow-9057.twil.io
. Must include https://
In the Task Router -> Task Channels, please verify that channel custom1
exists. If not, please create one using the REST API. Instructions can be found here
function paths should match file names
npm run build
Go to your Twilio Assets and deploy the plugin-dialpad.js file from the /build directory.
10/12/2018 - v1.0 - Initial release
10/15/2018 - v1.1 - Added hold functionality
10/18/2018 - v1.2 - Added support for international dialing
10/22/2018 - v2.0 - Support for Flex 1.0
10/26/2018 - v2.1 - E.164 dialing format now supported
11/12/2018 - v2.2 - Significant changes on back-end, support for Flex 1.1
11/16/2018 - v2.3 - Checking number length before dialing, copy and paste, bug fix that was allowing multiple calls to be dialed at the same time
11/27/2018 - v2.4 - Added Call button for SMS, support for Flex 1.2
12/19/2018 - v2.5 - Moved all outbound calls to taskChannel custom1, only auto-accepting interactions that have the attribute autoAnswer set to true. Support for Flex 1.3. Restyled using MUI buttons
1/16/2019 - v2.6 - Support for Flex 1.4. Minor bug fixes in hold.
3/14/2019 - v3.0 - Support for Flex 1.6. Added internal dialing and 3-way conferencing. Multiple breaking changes. Minor bug fixes. If upgrading from a previous version, please re-deploy all functions from src/functions to your Twilio console as most functions received updates.