OmniBoard é uma plataforma SaaS de monitoramento em tempo real para operações de atendimento. Integra dados de telefonia (Asterisk/FreePBX) via AMI e mensageria (WhatsApp/HelenaCRM) em um dashboard unificado, utilizando uma arquitetura distribuída de agentes leves e processamento em nuvem.
Go to file
lukibeg b6e99d3128 Merge remote main with local project 2025-12-15 10:39:11 -03:00
app Commit inicial. 2025-12-15 10:31:08 -03:00
bootstrap Commit inicial. 2025-12-15 10:31:08 -03:00
config Commit inicial. 2025-12-15 10:31:08 -03:00
database Commit inicial. 2025-12-15 10:31:08 -03:00
public Commit inicial. 2025-12-15 10:31:08 -03:00
resources Commit inicial. 2025-12-15 10:31:08 -03:00
routes Commit inicial. 2025-12-15 10:31:08 -03:00
storage Commit inicial. 2025-12-15 10:31:08 -03:00
tests Commit inicial. 2025-12-15 10:31:08 -03:00
.editorconfig Commit inicial. 2025-12-15 10:31:08 -03:00
.env.example Merge remote main with local project 2025-12-15 10:39:11 -03:00
.gitattributes Commit inicial. 2025-12-15 10:31:08 -03:00
.gitignore Commit inicial. 2025-12-15 10:31:08 -03:00
README.md Merge remote main with local project 2025-12-15 10:39:11 -03:00
artisan Commit inicial. 2025-12-15 10:31:08 -03:00
composer.json Commit inicial. 2025-12-15 10:31:08 -03:00
composer.lock Commit inicial. 2025-12-15 10:31:08 -03:00
jsconfig.json Commit inicial. 2025-12-15 10:31:08 -03:00
package-lock.json Commit inicial. 2025-12-15 10:31:08 -03:00
package.json Commit inicial. 2025-12-15 10:31:08 -03:00
phpunit.xml Commit inicial. 2025-12-15 10:31:08 -03:00
postcss.config.js Commit inicial. 2025-12-15 10:31:08 -03:00
tailwind.config.js Commit inicial. 2025-12-15 10:31:08 -03:00
vite.config.js Commit inicial. 2025-12-15 10:31:08 -03:00

README.md

<<<<<<< HEAD

Laravel Logo

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You can also check out Laravel Learn, where you will be guided through building a modern Laravel application.

If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

OmniBoard 📊

Laravel PHP Vue.js Asterisk

🚀 Sobre o Projeto

O OmniBoard é uma solução de monitoramento de performance para Call Centers e Centrais de Atendimento. O objetivo é acabar com a "caixa preta" da telefonia, transformando eventos brutos do PABX e do WhatsApp em métricas visuais em tempo real para gestores.

Diferente de soluções monolíticas que rodam dentro do servidor do cliente, o OmniBoard utiliza uma arquitetura SaaS (Software as a Service). Um agente leve coleta os dados localmente e os transmite para uma nuvem centralizada, garantindo escalabilidade, segurança e baixo consumo de recursos no servidor de telefonia.


🏗 Arquitetura

O sistema é dividido em dois componentes principais para resolver o problema de conectividade (NAT/VPN) e escalabilidade:

1. The Cloud Core (Servidor)

Hospedado na nuvem (VPS), é o cérebro da operação.

  • Stack: Laravel 12 + MySQL + Redis.
  • Responsabilidade: Receber dados via API, gerenciar múltiplos inquilinos (Multi-tenant), processar histórico e servir o Dashboard via WebSockets.

2. The Local Agent (Cliente)

Um script leve em PHP Puro que roda dentro do servidor FreePBX/Asterisk do cliente.

  • Stack: PHP 7.4 (Nativo do FreePBX) com Sockets TCP.
  • Conexão: Conecta-se ao AMI (Asterisk Manager Interface) na porta 5038.
  • Responsabilidade: "Escutar" eventos (Entrada em fila, Pausas, Abandonos), filtrar e transmitir via HTTPS para o Cloud Core.
  • Segurança: Opera apenas com saída de dados (Outbound), sem necessidade de abrir portas no firewall do cliente ou configurar VPNs complexas.

Funcionalidades

  • Monitoramento de Filas em Tempo Real:
    • Visualização de clientes aguardando na fila.
    • Tempo médio de espera (TME).
    • Alertas visuais de gargalos.
  • Gestão de Agentes:
    • Status ao vivo (Disponível, Falando, Pausado, Deslogado).
    • Identificação de pausas excessivas.
  • Integração WhatsApp (HelenaCRM):
    • Unificação das métricas de atendimento via chat no mesmo painel da voz.
  • Métricas Críticas:
    • Contador de Chamadas Abandonadas (Lost Calls).
    • Nível de Serviço (SLA).

🛠 Tecnologias Utilizadas

  • Backend: Laravel 12
  • Frontend: Vue.js / Blade Templates
  • Real-time: Laravel Reverb / WebSockets
  • Coleta de Dados: PHP Streams (fsockopen) para conexão AMI raw.
  • Infraestrutura: Vultr VPS (Linux)

🔄 Fluxo de Dados

graph LR
    A[Asterisk Server] -- AMI Event (TCP 5038) --> B(Agente PHP Local)
    B -- JSON / POST (HTTPS) --> C{Laravel Cloud API}
    C -- Store --> D[(Database)]
    C -- Broadcast --> E(WebSocket Server)
    E -- Push --> F[Navegador do Gestor]
>>>>>>> b3ca2fa0a9321407a81a23c65366e37298548044