An example application implementing an automated phone line using Twilio and ASP.NET MVC.
- Visual Studio 2019 or later.
- SQL Server Express 2019 with LocalDB support
-
Clone the repository and
cd
into it.git clone git@github.com:TwilioDevEd/ivr-recording-csharp.git cd ivr-recording-csharp
-
Build the solution.
-
Run
Update-Database
at Package Manager Console to execute the migrations.(Be sure to check that your database server name matches the one from the connection string on
Web.config
. For reference, default values where used upon SQLServer installation) -
Run the application.
-
Expose the application to the wider Internet using ngrok.
ngrok http 1078 -host-header="localhost:1078"
-
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!
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.