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
- Host: GitHub
- URL: https://github.com/camilo716/autocalls
- Owner: Camilo716
- Created: 2023-09-22T18:17:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-16T13:19:17.000Z (about 2 years ago)
- Last Synced: 2025-01-15T04:41:16.771Z (about 1 year ago)
- Topics: asp-net, csharp, dotnet, entity-framework-core, freeswitch, postgresql, xunit
- Language: C#
- Homepage:
- Size: 438 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```