An open API service indexing awesome lists of open source software.

https://github.com/freeclimbapi/node-connect-caller-to-another-party

Node - Connect Caller To Another Party
https://github.com/freeclimbapi/node-connect-caller-to-another-party

connecting-calls tutorial

Last synced: 4 months ago
JSON representation

Node - Connect Caller To Another Party

Awesome Lists containing this project

README

          

# Node - Connect Caller To Another Party

This project serves as a guide to help you build an application with FreeClimb. View this how-to guide on [FreeClimb.com](https://docs.freeclimb.com/docs/connect-a-caller-to-another-party-1#section-nodejs). Specifically, the project will:

- Create a conference
- Make an outbound call during the phone call
- Add the caller to the conference

## Setting up your new app within your FreeClimb account

To get started using a FreeClimb account, follow the instructions [here](https://docs.freeclimb.com/docs/getting-started-with-freeclimb).

## Setting up the how-to guide

1. Install the node packages necessary using command:

```bash
$ yarn install
```

2. Configure environment variables (this how-to guide uses the [dotenv package](https://www.npmjs.com/package/dotenv)).

| ENV VARIABLE | DESCRIPTION |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ACCOUNT_ID | Account ID which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| API_KEY | API key which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| DESTINATION_NUMBER | The "agent" number to connect to |
| HOST | The url of where your app is being hosted (e.g. yourHostedApp.com) |
| PORT | (optional) Port of your application (defaults to 3000) |

## Runnning the how-to guide

1. Run the application using command:

```bash
$ node anotherParty.js
```

## Getting Help

If you are experiencing difficulties, [contact support](https://freeclimb.com/support).