CDR Custom Mapping

Upgraded FreePBX modules and our CDR custom mapping stopped updating the Master.csv

/etc/asterisk/cdr.conf contains only [general]

/etc/asterisk/cdr_custom.conf contains our custom mapping:

[mappings]
Master.csv => "${CDR(clid)}","${CDR(src)}","${CDR(dst)}","${CDR(dcontext)}","${CDR(channel)}","${CDR(dstchannel)}","${CDR(lastapp)}","${CDR(lastdata)}","${CDR(start)}","${CDR(answer)}","${CDR(end)}","${CDR(duration)}","${CDR(billsec)}","${CDR(disposition)}","${$

Status of CDR:

pbx*CLI> cdr show status

Call Detail Record (CDR) settings
----------------------------------
  Logging:                    Enabled
  Mode:                       Simple
  Log unanswered calls:       No
  Log congestion:             No

* Registered Backends
  -------------------
    cdr_manager
    Adaptive ODBC

Contents of /etc/asterisk/modules.conf

[modules]
autoload=yes
preload = pbx_config.so
preload = chan_local.so
preload = func_db.so
preload = res_odbc.so
preload = res_config_odbc.so
preload = cdr_adaptive_odbc.so
noload = chan_woomera.so
noload = pbx_gtkconsole.so
noload = pbx_kdeconsole.so
noload = app_intercom.so
noload = chan_modem.so
noload = chan_modem_bestdata.so
noload = chan_modem_i4l.so
noload = app_trunkisavail.so
noload = chan_alsa.so
noload = chan_oss.so
noload = app_directory_odbcstorage.so
noload = app_voicemail_odbcstorage.so
noload = chan_modem_aopen.so
noload = cdr_radius.so
noload = cel_radius.so
noload = cdr_mysql.so
noload = res_phoneprov.so
noload = res_config_ldap.so
noload = res_config_sqlite3.so
noload = res_clialiases.so
noload = chan_mgcp.so
noload = app_minivm.so
noload = cel_custom.so
load = format_wav.so
load = format_pcm.so
load = format_mp3.so
load = res_musiconhold.so

Not sure what I am missing? Or what might have changed? Looking at backups from when it did work, the cdr.conf and cdr_custom.conf seem to be the same.

Looking at a lab PBX:

yplab*CLI> cdr show status

Call Detail Record (CDR) settings
----------------------------------
  Logging:                    Enabled
  Mode:                       Simple
  Log unanswered calls:       No
  Log congestion:             No

* Registered Backends
  -------------------
    Adaptive ODBC

/etc/asterisk/cdr.conf is empty.

What are the contents of your cdr.conf file?

You can also try running core reload in asterisk to see if it returns any errors.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.