Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.
/ smooth-operator Public archive

Twilio and Pagerduty integration for Guardian 2nd line support

Notifications You must be signed in to change notification settings

guardian/smooth-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a repo for experimenting with an app which will handle our on-call support phone number routing.

The idea that we're kicking around so far, is that the app will integrate with both Twilio and PagerDuty to provide a seamless way to contact the person who is currently on call. Specifically, by providing an HTTP end-point that will get pinged when we receive a call, and which will then look up who is currently on the rota via PagerDuty, and telling Twilio where to forward the call.

Currently only the first part of call forwarding is implemented, so it will provide an end-point that will forward the caller to a static number configured in the conf file.

Gory-details

This is a simple Play application that talks TwiML, which as the name suggests is an XML format that contains commands telling Twilio what you want it to do when it receives a call.

It is built using the official Twilio Java library.

To use it, just run it by doing something like sbt run and then you need to configure Twilio to ping the URL that your app is listening on. As this URL needs to be accessible to the internet, a good tool for testing it with is ngrok.

About

Twilio and Pagerduty integration for Guardian 2nd line support

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages