Introduction
Twilio is a great tool for programmatically initiating and managing phone calls. In this example we'll go over basic account setup, create a Cache Class to manage our interaction with the Twilio API, and initiate a phone call from the Cache Terminal.
The full Class used in this example is available on GitHub as well.
Setup
- Create an account on twilio
- Add a new phone number under the Manage Numbers Page.
- This will be the number you call from.
- Add a new caller ID under the Verified Caller IDs Page.
- This will be the number you call to.