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

https://github.com/camilo716/autocalls

Bulk dialer
https://github.com/camilo716/autocalls

asp-net csharp dotnet entity-framework-core freeswitch postgresql xunit

Last synced: 11 months ago
JSON representation

Bulk dialer

Awesome Lists containing this project

README

          

# AutoCalls

AutoCalls is a project that provides functionality for saving phone numbers and audio files in a database, and then conducting mass phone calls to multiple numbers while playing an audio message.

## Features

- Phone Number Management: Easily store and manage phone numbers in a database.

- Audio Storage: Store audio byte stream in a database for playback during phone calls.

- Mass Calling: Initiate mass phone calls to a list of numbers and deliver a predefined audio message.

## Technologies Used

- ASP.NET
- PostgreSQL
- Entity Framework
- FreeSWITCH
- XUnit

For a better understanding of the project see 😹

## Run Tests

``` bash
dotnet test
```

## Set Database

1. Configure connection in appsettings.json or appsettings.development.json.
2. Create schema:

``` bash
cd ./AutoCallsApi
dotnet ef migrations add MigrationName
dotnet ef database update
```

## Deploy and configure local FreeSWITCH container

1. Configure FreeSWITCH server and port in appsettings.json or appsettings.development.json.
2. Deploy local FreeSWITCH:

```bash
git clone https://github.com/Camilo716/FreeSWITCH
```

Remember to mount audios volume inside FreeSWITCH docker, changing "ROUTE_TO_AUTOCALLS_PROJECT" in docker-compose.yml for your local one. Then:

```bash
cd ./FreeSWITCH
docker-compose up
```

## Run the API

``` bash

cd ./AutoCallsApi
dotnet run
```