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

https://github.com/freeclimbapi/python-make-outbound-call-tutorial


https://github.com/freeclimbapi/python-make-outbound-call-tutorial

connecting-calls tutorial

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

          

# Python - Make Outbound Call Tutorial

This project serves as a guide to help you build an application with FreeClimb. View this tutorial on [FreeClimb.com](https://docs.freeclimb.com/docs/how-to-make-an-outbound-call#section-python). Specifically, the project will:

- Make an outbound call to a specified number

## 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 Tutorial

1. Make sure you have Python 3.5.0 or later

2. Install the required packages

```bash
pip install -r requirements.txt
```

3. Configure environment variables

| 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 |

4. Provide a value for the following variables:
| VARIABLE | DESCRIPTION |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| YOUR_FREECLIMB_NUMBER | Phone number which will be making the outbound call. Must be a [FreeClimb number](https://www.freeclimb.com/dashboard/portal/numbers) registered to your account.
| YOUR_VERIFIED_NUMBER | Phone number which will receive the call. Phone number must be [verified with FreeClimb](https://www.freeclimb.com/dashboard/portal/numbers/verified) while your account is in **Trial Mode**.
| YOUR_APP_ID | [FreeClimb application](https://www.freeclimb.com/dashboard/portal/applications) within your account that has the 'CALL CONNECT URL' configured to your outbound call application.

## Running the Tutorial

```bash
env FLASK_APP=python_make_outbound_call_tutorial.py flask run
```

## Getting Help

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