Skip to main content

DevStack

Calling a contact with C#, Bandwidth and Azure

Bandwidth Bandwidth
Bandwidth
Share
C# | Bandwidth logo | Microsoft 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

ex 1

Calling Flow

Basic Call Flow Chart

Catapult_Flow

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

ex 2

Play Audio after answer event

ex 3

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

ex 4

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

ex 5

Deploy and Demo

deploy and demo

Deploy

Click the “Deploy to Azure” button

Enter Bandwidth Communications API credentials

step1_

After entering credentials, click next

step2_

Click the “Manage your resources” Link

step3_

At the Azure page click the app name under Summary

step4_

Then open the Web App

step5_

Demo

Add a contact (with real phone number)

step6_

Add a contact

step7_

Click the “Click to Call” Button

step8_

Enter your phone number then click “Call”

step9_

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:

examples

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