Skip to content

Bandwidth-Samples/in-app-calling-dialpad-node-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-App Calling Dialpad

Table of Contents

Description

A simple dial pad application used to create calls using our WebRTC SDK.

Pre-Requisites

In order to use this sample app, your account must have In-App Calling enabled. You will also have to generate an auth token using our Identity API.

For more information about API credentials see our Account Credentials page.

Global Network update

Change the domain to following here.

      domain: 'sbc.webrtc-app.bandwidth.com',
      addresses: ['wss://sbc.webrtc-app.bandwidth.com:10081'],

Running the Application

Use the following command/s to run the application:

yarn start

Environmental Variables

The sample app uses the below environmental variables.

REACT_APP_IN_APP_CALLING_TOKEN             # You Identity Token
REACT_APP_IN_APP_CALLING_NUMBER            # A valid phone number on your account