Leverage on Twilio TwiML and PagerDuty API v2, this small service will forward phone call to on-call engineers.
TBD
+----------------------------------------------------------------------------------------+
| + |
| | |
| | Incoming call to a virtual number at Twilio |
| | |
| | |
| v |
| +--------+ +-----------------+ check who is +--------+ |
| | | TwiML request | | on-call | | |
| + Twilio +--------------------->| pd-call-forward |-------------------->| PD API | |
| | +<---------------------+ |<--------------------+ | |
| +---+----+ TwiML response +-----------------+ get on-call and +--------+ |
| | his phone no. |
| | |
| | Call forwarding |
| | |
| v |
| +-----+------------+ |
| | On-call engineer | |
| +------------------+ |
+----------------------------------------------------------------------------------------+
- https://github.com/vend/phoneduty (possibly broken due to Pagerduty API v1 deprecation)
- https://github.com/appliscale/telephonist
- https://github.com/guardian/smooth-operator
- https://github.com/ajohnstone/autoscale/tree/master/scripts/pager-duty-to-twilio
- https://github.com/jof/twilio_oncall_redirector
- https://github.com/dsshafer/phoneduty