← Volver al índice de módulos

statistics

The Statistics module is a wrapper over the internal statistics manager, allowing the script writer to dynamically define and use of statistic variables. By bringing the statistics support into the sc
📊 Monitorización y Logging Kamailio 6.1 2 parámetros 4 funciones

Descripción general

The Statistics module is a wrapper over the internal statistics manager, allowing the script writer to dynamically define and use of statistic variables. By bringing the statistics support into the script, it takes advantage of the script flexibility in defining logics, making possible implementation of any kind of statistic scenario.

Documentación oficial: https://www.kamailio.org/docs/modules/stable/modules/statistics.html
Código fuente: https://github.com/kamailio/kamailio/tree/master/src/modules/statistics

Parámetros de configuración

ParámetroTipoDescripción
variable string 3.1. variable (string)
variable string Name of a new statistic variable. The name may be followed by additional flag which describe the variable behavior: * no_reset : variable cannot be reset.

Funciones exportadas

update_stat(variable,value)

4.2. reset_stat(variable)

reset_stat(variable)

4.1. update_stat(variable,value)

update_stat(variable,value)

Updates the value of the statistic variable with the new value.

reset_stat(variable)

Resets to zero the value of the statistic variable.

Autores y contribuidores

Bogdan IancuVoice Sistem SRL

Copyright © 2006 Voice Sistem SRL

Módulos relacionados

debugger dlgs rtjson sipcapture siptrace xlog