← Volver al índice de módulos

acc

1.1. General Example ACC module is used to account transactions information to different backends like syslog and SQL.
🔀 Enrutamiento y Proxy SIP Kamailio 6.1

Descripción general

1.1. General Example ACC module is used to account transactions information to different backends like syslog and SQL. With the separate module “acc_radius” support for radius is enabled. There is some very early support of the Diameter protocol in the “acc_diameter” module, but is not up to date with the current Diameter protocols. If you need Diameter support, please use the ims_charging module. To account a transaction and to choose which set of backends to be used, the script writer just has to set some flags (see the module parameters section for flag definitions Section 6, “Parameters”). If the accounting flag for a specific backend is set, the acc module will then report on completed transaction. A typical usage of the module takes no acc-specific script command -- the functionality binds invisibly through transaction processing. Script writers just need to mark the transaction for accounting with proper setflag. Even so, the module allows the script writer to force accounting in special cases via some script functions. The accounting module will log by default a fixed set of attributes for the transaction - if you customize your accounting by adding more information to be logged, please see the next chapter about extra accounting - Section 2, “Extra accounting”. The fixed minimal accounting information is: * Request Method name * From header TAG parameter * To header TAG parameter * Call-Id * 3-digit Status code from final reply * Reason phrase from final reply * Time

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

Autores y contribuidores

Jiri Kuthan <jiri@iptel.org>Bogdan-Andrei IancuVoice Sistem SRL <bogdan@voice-system.ro>Ramona-Elena Modroiu <ramona@rosdev.ro>Sven Knoblich <sven.knoblich@1und1.de>Tyler Moore <tmoore@dopensource.com>

Copyright © 2002, 2003 FhG FOKUS
Copyright © 2004, 2006 Voice Sistem SRL
Copyright © 2011 1&1 Internet AG
Copyright © 2025 Tyler Moore, dOpenSource

Módulos relacionados

acc_diameter acc_json acc_radius alias_db app_jsdt carrierroute cfgt cfgutils