Giter Club home page Giter Club logo

ivr-phone-tree-csharp's Introduction

Twilio

IVR Phone Tree: IVR for beginners. Powered by Twilio - ASP.NET MVC

An example application implementing an automated phone line using Twilio.

Read the full tutorial here!

Local development

This project is built using the ASP.NET MVC web framework.

  1. First clone this repository and cd into its directory:

    git clone [email protected]:TwilioDevEd/ivr-phone-tree-csharp.git
    cd ivr-phone-tree-csharp
    
  2. Build the solution.

  3. Expose your application to the wider internet using ngrok. This step is important because the application won't work as expected if you run it through localhost.

To start using ngrok in our project you'll have execute to the following line in the command prompt.

ngrok http 1112 -host-header="localhost:1112"

Keep in mind that our endpoint is:

http://<your-ngrok-subdomain>.ngrok.io/ivr/welcome

Remember to update the Local.config file with the generated ngrok subdomain.

  1. Configure Twilio to call your webhooks.

You will also need to configure Twilio to call your application when calls are received in your Twilio Number. The voice url should look something like this:

http://<your-ngrok-subdomain>.ngrok.io/ivr/welcome

Learn how to configure your Twilio phone number for Programmable Voice.

Unit Tests

To run the unit tests within Visual Studio, install the NUnit 3 Test Adapter: https://marketplace.visualstudio.com/items?itemName=NUnitDevelopers.NUnit3TestAdapter

Meta

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

ivr-phone-tree-csharp's People

Contributors

acamino avatar smendes avatar dprothero avatar bld010 avatar satchkat avatar tomwanzek avatar maylonpedroso avatar well1791 avatar hortega avatar kwhinnery avatar mmena1 avatar dependabot-preview[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.