← Volver al índice de módulos

acc_json

ACC_JSON module is used to account transaction information in a JSON dictionary. It binds to ACC module API and uses the same accounting mechanisms as for other backends.
🔀 Enrutamiento y Proxy SIP Kamailio 6.1 30 parámetros

Descripción general

ACC_JSON module is used to account transaction information in a JSON dictionary. It binds to ACC module API and uses the same accounting mechanisms as for other backends. It can output the JSON dictionary to MQUEUE or SYSLOG (even if Kamailio is not using syslog)

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

Parámetros de configuración

ParámetroTipoDescripción
acc_flag integer 3.2. acc_missed_flag (integer) 3.3. acc_extra (string) 3.4. acc_pre_encoded_prefix (string) 3.5. acc_time_mode (integer) 3.6. acc_time_format (str) 3.7. acc_output_mqueue (integer) 3.8. acc_output_sys
acc_missed_flag integer 3.3. acc_extra (string) 3.4. acc_pre_encoded_prefix (string) 3.5. acc_time_mode (integer) 3.6. acc_time_format (str) 3.7. acc_output_mqueue (integer) 3.8. acc_output_syslog (integer) 3.9. acc_log_faci
acc_extra string 3.4. acc_pre_encoded_prefix (string) 3.5. acc_time_mode (integer) 3.6. acc_time_format (str) 3.7. acc_output_mqueue (integer) 3.8. acc_output_syslog (integer) 3.9. acc_log_facility (integer) 3.10. acc
acc_pre_encoded_prefix string 3.5. acc_time_mode (integer) 3.6. acc_time_format (str) 3.7. acc_output_mqueue (integer) 3.8. acc_output_syslog (integer) 3.9. acc_log_facility (integer) 3.10. acc_log_level (integer) 3.11. cdr_enable
acc_time_mode integer 3.6. acc_time_format (str) 3.7. acc_output_mqueue (integer) 3.8. acc_output_syslog (integer) 3.9. acc_log_facility (integer) 3.10. acc_log_level (integer) 3.11. cdr_enable (int) 3.12. cdr_skip (string
acc_time_format str 3.7. acc_output_mqueue (integer) 3.8. acc_output_syslog (integer) 3.9. acc_log_facility (integer) 3.10. acc_log_level (integer) 3.11. cdr_enable (int) 3.12. cdr_skip (string) 3.13. cdr_extra (str) 3.1
acc_output_mqueue integer 3.8. acc_output_syslog (integer) 3.9. acc_log_facility (integer) 3.10. acc_log_level (integer) 3.11. cdr_enable (int) 3.12. cdr_skip (string) 3.13. cdr_extra (str) 3.14. cdr_pre_encoded_prefix (string
acc_output_syslog integer 3.9. acc_log_facility (integer) 3.10. acc_log_level (integer) 3.11. cdr_enable (int) 3.12. cdr_skip (string) 3.13. cdr_extra (str) 3.14. cdr_pre_encoded_prefix (string) 3.15. cdr_expired_dlg_enable (s
acc_log_facility integer 3.10. acc_log_level (integer) 3.11. cdr_enable (int) 3.12. cdr_skip (string) 3.13. cdr_extra (str) 3.14. cdr_pre_encoded_prefix (string) 3.15. cdr_expired_dlg_enable (str) 3.16. cdr_output_mqueue (int
acc_log_level integer 3.11. cdr_enable (int) 3.12. cdr_skip (string) 3.13. cdr_extra (str) 3.14. cdr_pre_encoded_prefix (string) 3.15. cdr_expired_dlg_enable (str) 3.16. cdr_output_mqueue (integer) 3.17. cdr_output_syslog
cdr_enable int 3.12. cdr_skip (string) 3.13. cdr_extra (str) 3.14. cdr_pre_encoded_prefix (string) 3.15. cdr_expired_dlg_enable (str) 3.16. cdr_output_mqueue (integer) 3.17. cdr_output_syslog (integer) 3.18. cdr_log
cdr_skip string 3.13. cdr_extra (str) 3.14. cdr_pre_encoded_prefix (string) 3.15. cdr_expired_dlg_enable (str) 3.16. cdr_output_mqueue (integer) 3.17. cdr_output_syslog (integer) 3.18. cdr_log_facility (integer) 3.19
cdr_extra str 3.14. cdr_pre_encoded_prefix (string) 3.15. cdr_expired_dlg_enable (str) 3.16. cdr_output_mqueue (integer) 3.17. cdr_output_syslog (integer) 3.18. cdr_log_facility (integer) 3.19. cdr_log_level (integ
cdr_pre_encoded_prefix string 3.15. cdr_expired_dlg_enable (str) 3.16. cdr_output_mqueue (integer) 3.17. cdr_output_syslog (integer) 3.18. cdr_log_facility (integer) 3.19. cdr_log_level (integer)
cdr_expired_dlg_enable str 3.16. cdr_output_mqueue (integer) 3.17. cdr_output_syslog (integer) 3.18. cdr_log_facility (integer) 3.19. cdr_log_level (integer)
cdr_output_mqueue integer 3.17. cdr_output_syslog (integer) 3.18. cdr_log_facility (integer) 3.19. cdr_log_level (integer)
cdr_output_syslog integer 3.18. cdr_log_facility (integer) 3.19. cdr_log_level (integer)
cdr_log_facility integer 3.19. cdr_log_level (integer)
cdr_log_level integer 3.1. acc_flag (integer)
acc_flag integer Request flag which needs to be set to account a transaction in acc_json. See acc_output_mqueue and acc_output_syslog
acc_missed_flag integer Request flag which needs to be set to account missed calls in acc_json. See acc_output_mqueue and acc_output_syslog
acc_extra string Extra values to be added to the json dictionary.
acc_pre_encoded_prefix string Prefix to identify values that will be considered to be already json encoded.
acc_time_mode integer Store additional value related to the time of event.
acc_time_format str Specify the format to print the time for time_mode 3 or 4.
acc_output_mqueue integer Requires the mqueue module. The acc module will queue json acc events in the specified mqueue. Using a rtimer module exec you can access the queue and process them.
acc_output_syslog integer Control if the output of acc json should be sent to syslog. This is not dependent on Kamailio global logging settings, we can use syslog even if Kamailio is not daemonized and/or logging is done to sd
acc_log_facility integer Log facility to which accounting messages are issued to syslog. This allows to easily separate the accounting specific logging from the other log messages.
acc_log_level integer Log level at which accounting messages are issued to syslog.
cdr_enable int Enable CDR reporting - one record per call is reported, relying on dialog module.

Autores y contribuidores

Julien Chavanton <jchavanton@gmail.com>

Copyright © 2018 Flowroute.com

Módulos relacionados

acc acc_diameter acc_radius alias_db app_jsdt carrierroute cfgt cfgutils