Skip to main content

What is CECOCO?

CECOCO (Centro de Comando y Control) is the command and control center of C.A.R. 911. It provides real-time monitoring and coordination capabilities for emergency response operations, enabling operators to track mobile units, manage incidents, and monitor emergency calls.
CECOCO integrates GPS tracking, incident management, and call monitoring into a unified platform for emergency service coordination.

Core Capabilities

CECOCO provides three main operational modules:

Live Map

Real-time visualization of mobile units and active incidents on an interactive map

Resource Tracking

Monitor mobile unit locations, routes, and stopped intervals

Call Management

Track and review emergency calls with audio recordings

Access Control

CECOCO features are protected by role-based permissions:
function __construct()
{
    $this->middleware('permission:ver-moviles-cecoco')->only('indexMoviles');
    $this->middleware('permission:ver-llamadas-cecoco')->only('indexLlamadas');
    $this->middleware('permission:ver-eventos-cecoco')->only('indexLlamadas');
}
You need the following permissions to access CECOCO features:
  • ver-moviles-cecoco: View mobile unit tracking and routes
  • ver-llamadas-cecoco: Access call logs and recordings
  • ver-eventos-cecoco: View incident and event data
Contact your system administrator to request access to CECOCO features if you don’t have the required permissions.

Database Connections

CECOCO queries data from a secondary database connection (mysql_second) that contains:
  • posicionesgps: GPS position logs for mobile units
  • ultimasposicionesgps: Latest GPS positions for real-time tracking
  • recursos: Mobile resource information (vehicles, units)
  • servicios: Incident and service records
  • llamadas: Emergency call logs
  • grabacionesoperador: Call audio recordings

Main Routes

Access CECOCO features through these routes:
RoutePurposeController Method
/indexMapaCecocoEnVivoLive map viewindexMapaCecocoEnVivo()
/indexMovilesMobile unit trackingindexMoviles()
/indexLlamadasCall managementindexLlamadas()
/indexMapaCalorHeat map visualizationindexMapaCalor()
/getRecursosCecocoGet resources datagetRecursosCecoco()
/get-movilesGet mobile routesgetRecorridosMoviles()
/get-moviles-paradosGet stopped intervalsobtenerIntervalosParado()

Implementation Reference

The CECOCO functionality is implemented in: CecocoController.php:10-20
class CecocoController extends Controller
{
    function __construct()
    {
        $this->middleware('permission:ver-moviles-cecoco')->only('indexMoviles');
        $this->middleware('permission:ver-llamadas-cecoco')->only('indexLlamadas');
        $this->middleware('permission:ver-eventos-cecoco')->only('indexLlamadas');
    }
}

Next Steps

Explore Live Map

Learn how to use the real-time mapping feature

Track Resources

Monitor mobile units and analyze their movements

Build docs developers (and LLMs) love