This application demonstrates how to use Twilio and TwiML to perform automated phone surveys.
The application requirements are minimal, if you have installed Visual Studio you're almost done.
-
Clone the repository and `cd' into it.
Running the command Update-Database
will run the migrations and run the Seed
method, if you want to inspect this you can inspect SQL Server Object Explorer.
That's it!
For this demo it's necessary that your local application instance is accessible from the Internet. The easiest way to accomplish this during development is using ngrok. The installer and the installation instructions are available here.
Once you have the application running you can expose it to the wider internet by running the following command (port 1153 is the default port for this application).
ngrok http 1153 -host-header="localhost:1153"
In order to receive incoming calls we need to first configure our Twilio phone number.
Click on the red number, and then set the Voice Request URL. Don’t forget to save the changes.
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.