A basic application for automatic outbound call distribution based on a uploaded call distribution list. Based on Asterisk PBX and it's ARI functionality, Flask and MySQL.
Basic functionalities:
- Upload a CSV list. (Fields: Name, Phone)
- Upload sound files.
- Start a outbound call campain using the uploaded list & sound files.
- Current call status
- Report. (Fields: Phone, Status, Reason,Call Duration)
- Settings. (Asterisk & ARI settings)
Clone the repo and run the below command from the repo
- sudo pip install -r requirements.txt
-
create database ocd;
-
use ocd;
-
create table users(id INT(10) AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50), email VARCHAR(100), username VARCHAR(30), password VARCHAR(100), register_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
-
create table call_list ( id INT(11) AUTO_INCREMENT PRIMARY KEY, title VARCHAR(255), author VARCHAR(100), create_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
-
create table sound_list ( id INT(11) AUTO_INCREMENT PRIMARY KEY, title VARCHAR(255), author VARCHAR(100), create_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
-
CREATE USER 'ocduser'@'localhost' IDENTIFIED BY 'ocdpass';
-
GRANT ALL PRIVILEGES ON ocd.* TO 'ocduser'@'localhost';
- Edit app.py with MySQL credentials.
python app.py