This is an application example implementing an automated phone line using Twilio.
-
Clone this repository and
cd
into it.$ git clone [email protected]:TwilioDevEd/ivr-phone-tree-servlets.git $ cd ivr-phone-tree-servlets
-
Run the application.
$ ./gradlew jettyRun
-
Check it out at http://localhost:8080
-
Expose the application to the wider Internet using ngrok.
$ ngrok 8000 http
-
Provision a number under the Manage Numbers page on your account. Set the voice URL for the number to
http://<your-ngrok-subdomain>.ngrok.io/ivr/welcome
. -
Grab your phone and call your newly-provisioned number!
That's it!
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.