Live Call Routing
Route incoming phone calls to the right person with the on-call schedules and escalation policies you already use. Add real-time conversations to your support workflow!
Last updated
Route incoming phone calls to the right person with the on-call schedules and escalation policies you already use. Add real-time conversations to your support workflow!
Last updated
Company | Estimated Time | Vendor Docs | Open Source |
---|---|---|---|
Twilio is a cloud communications platform for building SMS, Voice & Messaging applications on an API built for global scale.
With Twilio Live Call Routing, PagerTree users can:
Purchase and manage global phone numbers using Twilio.
Route incoming phone calls to PagerTree teams with on-call schedules and escalation layers.
Have the caller leave a voicemail if for some reason the on-call can’t answer.
Customize “hold music” and “voicemail message”.
Additionally, live call routing can be configured to route to multiple teams. When configured to route to multiple teams, callers will be presented with team options. For example: “Press 1 for Devops, Press 2 for Network Operations, Press 3 for Security”.
Twilio users can route incoming phone calls to on-call customer support.
When a new call comes in from Twilio, an alert is created in PagerTree automatically.
In this integration tutorial we will show you how to route an incoming phone call from Twilio into PagerTree. The estimated time for this integration is 7 minutes. We assume that you already have a PagerTree and Twilio account setup.
Open a text editor, as we’ll need to copy several pieces of data.
In the top right menu bar, navigate to Account -> Keys & Credentials -> API Keys & tokens.
Ensure the United States (US1) Region is selected and click Create API key button.
Give your key the following:
Friendly name - Something you will easily remember
Region - This must be United States (US1)
Key type - Standard
Copy the SID and Secret to your text editor.
Check the "Got it! I have saved my API..." and click Done.
Your text editor should now have the API Key SID and Secret.
Please note the API Key SID is different from the Account SID, so do not get them confused.
From the Twilio dashboard, under account info, copy the Account SID. (It should begin with "AC")
Your text editor should now have:
API Key SID and Secret
Account SID
Create the integration by clicking the Twilio Live Call Routing logo.
In the Options section, edit each option accordingly
Paste the API Key SID you copied earlier to the Twilio API Key field. (Should start with "SK")
Paste the API Secret you copied earlier to the Twilio API Secret field.
Paste the Account SID you copied earlier to the Twilio Account SID field. (Should start with "AC")
Click “Create”
If you haven’t already, upgrade to a paid Twilio account.
If you haven’t already, buy a phone number.
Navigate to your purchased number Develop -> Phone Numbers -> Manage -> Active Numbers.
Select the phone number that will be used for Live Call Routing.
On the Phone Number Configure Tab, under Voice & Fax -> A Call Comes In
Paste the PagerTree Endpoint URL you copied earlier
Ensure the type is Webhook
Ensure the action is HTTP POST
Click Save
You have successfully completed the Twilio (Live Call Routing) Integration.
You can set the destinations of the Live Call Routing integration to be multiple teams. When this is done, the caller will be prompted to select the team they wish to connect to. The team name will be used when reading the presentable options. Team names will be read in alphabetical order.
Push 1 for Customer Support. Push 2 for DevOps - api.pagertree.com.
If you elect to enable the voicemail option, you will likely want to disable authentication for media access in Twilio. By doing so, users can access the voicemail recording without logging in to Twilio.
To disable HTTP Basic Authentication for media access in Twilio:
Navigate to Develop -> Voice -> Settings -> General.
Under the HTTP Basic Authentication for media access section, select Disabled.
Scroll to the bottom of the page and click Save.
The Twilio Live Call Routing can be used with *limited* router functionality for dynamic selection of teams to be present to the caller.
When using this configuration, set the destinations of the integration to be only the router.
You can only use the assign action.
Team options will be read out in the order they are assigned (not alpha order)
Option | Description | Default |
---|---|---|
Welcome Recording
A recording that will be played first to caller (ex: "Hello, you have reached the Devop's on-call support line.")
Before Wait Music Recording
A recording to be played before wait music music.
Wait Music Recording
A recording or wait music to be played while the caller waits for someone to acknowledge the alert.
Before Connect Recording
A recording played before connecting the caller to the acknowledger.
Voicemail
Record a voicemail when no one acknowledges the call (see Configure Twilio Media Access)?
False
Voicemail Greeting Recording
A recording to be played when no one answers.
After Voicemail Greeting Recording
A recording played after the caller leaves a voicemail.
Voicemail Emails
A list of emails to send a notification to when the caller leaves a voicemail (see Configure Twilio Media Access).
Force Caller Input
Should PagerTree force caller input even if there is only one team assigned as a destination?
False
7 minutes