Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.94 KB

File metadata and controls

39 lines (25 loc) · 1.94 KB

Node - Create Conference Tutorial

This project serves as a guide to help you build an application with Persephony. Specifically, the project will:

  • Accept incoming calls
  • Receive digits from the caller
  • Create conferences
  • Add participants to conferences

This application will receive calls and have users enter the conference code of the conference they wish to join. It will then either create the conference or add the caller to an already existant conference.

Setting up your new app within your Persephony account

To get started using a persephony account, follow the instructions here.

Setting up the Tutorial

  1. Install the node packages necessary using command:

    $ yarn install
  2. Configure environment variables (this tutorial uses the dotenv package).

    ENV VARIABLE DESCRIPTION
    ACCOUNT_ID Account ID which can be found under API Keys in Dashboard
    AUTH_TOKEN Authentication Token which can be found under API Keys in Dashboard
    HOST The host url where your application is hosted (e.g. yourHostedApp.com)

Runnning the Tutorial

  1. Run the application using command:

    $ node streamARecording.js