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.
-
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.
- ASP.NET
- PostgreSQL
- Entity Framework
- FreeSWITCH
- XUnit
For a better understanding of the project see https://www.youtube.com/watch?v=bnjbOyq8L8U 😹
dotnet test
- Configure connection in appsettings.json or appsettings.development.json.
- Create schema:
cd ./AutoCallsApi
dotnet ef migrations add MigrationName
dotnet ef database update
- Configure FreeSWITCH server and port in appsettings.json or appsettings.development.json.
- Deploy local FreeSWITCH:
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:
cd ./FreeSWITCH
docker-compose up
cd ./AutoCallsApi
dotnet run