TwilioDevEd / ivr-recording-servlets

Example App and Tutorial content for IVR Call Recording and Agent Call screening

Home Page:https://www.twilio.com/docs/tutorials/walkthrough/ivr-screening/java/servlets

Repository from Github https://github.comTwilioDevEd/ivr-recording-servletsRepository from Github https://github.comTwilioDevEd/ivr-recording-servlets

Twilio

IVR Call Recording and Agent Conference. Level: Intermediate. Powered by Twilio - Java | Servlets

An example application implementing an automated phone line using Twilio and Java Servlets.

Read the full tutorial here!

Java Servlet CI

Setup

Requirements

  1. Java 8 installed for your operative system.
  2. A Twilio Account

Local Development

  1. Clone the repository and cd into it.

    git clone git@github.com:TwilioDevEd/ivr-recording-servlets.git
    cd ivr-recording-servlets
    
  2. Create the database.

    createdb ivr-recording
    

    The application uses PostgreSQL as the persistence layer. If you don't have it already, you should install it. The easiest way is by using Postgres.app.

  3. Set your environment variables

     cp .env.example .env
    
  4. Execute the migrations.

    ./gradlew flywayMigrate
  5. Run the application.

    ./gradlew jettyRun
  6. Expose the application to the wider Internet using ngrok

    ngrok http 8080 -host-header="localhost:8080"
    
  7. 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.

That's it!

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

About

Example App and Tutorial content for IVR Call Recording and Agent Call screening

https://www.twilio.com/docs/tutorials/walkthrough/ivr-screening/java/servlets

License:MIT License


Languages

Language:Java 98.7%Language:CSS 1.3%