#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
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.