Calling a contact with C#, Bandwidth and Azure

This tutorial will walk you through the Bandwidth Communications API Example App for calling a contact using one click deploy with Azure.
Prerequisites
Init — on first page load
Search then order a phone number

Calling Flow
Basic Call Flow Chart

Create outbound call and set the callbackURL to the server’s address

Play Audio after answer event

Wait until speak event is over and make the 2nd call

Once the 2nd call is answered, create bridge and place calls in the bridge

Deploy and Demo

Deploy
Click the “Deploy to Azure” button
Enter Bandwidth Communications API credentials

After entering credentials, click next

Click the “Manage your resources” Link

At the Azure page click the app name under Summary

Then open the Web App

Demo
Add a contact (with real phone number)

Add a contact

Click the “Click to Call” Button

Enter your phone number then click “Call”

Now that was easy!
Bandwidth is dedicated to creating simple sample applications to help users (like you) get up to speed as quickly as possible.
We have all sorts of samples hosted on our github in various programming languages:

Just create your account and get up to speed in no time.