System information

Table 2-3. Call detail recording modules
Name Purpose Popularity/Status
cdr_adaptive_odbc Allows writing of CDRs through ODBC frame-
work with ability to add custom fields
Useful
cdr_csv Writes CDRs to disk as a comma-separated
values file
Usable
cdr_custom As above, but allows for the addition of custom
fields
Useful
cdr_manager Outputs CDRs to Asterisk Manager Interface
(AMI)
Useful
cdr_odbc Writes CDRs through ODBC framework Usable
cdr_pgsql Writes CDRs to PostgreSQL Useful
cdr_radius Writes CDRs to RADIUS Usable—does not support custom fields
cdr_sqlite Writes CDRs to SQLite2 database Deprecated—use sqlite3_custom
cdr_sqlite3_custom Writes CDRs to SQLite3 with custom fields Useful
cdr_syslog Writes CDRs to syslog Useful
cdr_tds Writes CDRs to Microsoft SQL or Sybase Usable—requires an old version of libtds
We will discuss some reporting packages that you may wish to use with CDR in
Chapter 25.
Channel Event Logging Modules
Channel event logging provides much more powerful control over reporting of call
activity. By the same token, it requires more careful planning of your dialplan, and by
no means will it work automatically. Asterisk’s CEL modules are listed in Table 2-4.
Table 2-4. Channel event logging modules
Name Purpose Popularity/Status
cel_custom CEL to disk/file Useful
cel_manager CEL to AMI Useful
cel_odbc CEL to ODBC Useful
cel_pgsql CEL to PostgreSQL Useful
cel_radius CEL to RADIUS Usable—does not support custom fields
cel_sqlite3_custom CEL to Sqlite3 Useful
cel_tds CEL to Microsoft SQL or Sybase Usable—requires an old version of libtds
16 | Chapter 2:Asterisk Architecture