Skip to content

CruzVermelhaCNE/OperatorSoftware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cruz Vermelha Portuguesa - Coordenação Nacional de Emergência

Applying Technology to Emergency

Build Status Coverage Status

Project Objectives

This Operator Software will be used by our Operations Room operators.

Users

There are two types of users:

  • Operator
  • Manager

Operators will be able to do the following:

  • Connect with Flash Operator Panel 2 on specific extensions - Link defined in .env
  • Access Missed Calls and Calls that are necessary to return
  • Mark Missed Call and Calls To Return as completed
  • Fetch Report from when he logged in to that point

Managers will be able to do the following:

  • Change Extensions of Operator
  • Create Users
  • Change User Types (Operator/Manager)
  • Fetch Reports by operator or global on selected dates

All users need to perform basic tasks such as:

  • Change Password
  • Recover Lost Password

A user can be a Manager and an Operator.

Missed Calls and Calls To Return

This calls are flagged on Asterisk CDR database.

Flash Operator Panel

This page needs to be integrated with an iframe.

Analytics

The following information needs to be generated on the reports:

  • Average time per call
  • Missed calls and their duration
  • Time spent with the FOP iframe open
  • Which operator picked up a call
  • Which operator missed calls

Dashboard

The dashboard needs to be intuitive and fast to use.

Project setup

The easiest way to get the API started is through Artisan Serve

Command Line Interface

In order to run commands (composer, artisan, ...) in the API container, log into it via:

Once the infrastructure is running for the first time, finish up by installing the dependencies and setting .env file values.

Install dependencies:

composer install

Copy the .env file:

cp .env.example .env

Generate an encryption key:

php artisan key:generate

Deploy with artisan serve:

php artisan serve

Database

Execute the migration and seeders:

php artisan migrate:refresh --seed

Testing

To run the tests, execute:

vendor/bin/phpunit --testdox

Contributing

Contributions are always welcome, but before anything else, make sure you get acquainted with the CONTRIBUTING guide.

License

This project is open source software licensed under the MIT LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •