No Master.csv file in cdr-csv directory

Hello,

I’ve got a specific 22.0.0 setup in which I have 4 asterisk instances running on the same Debian host. Each instance is configured with a specific main /etc/asterisk/tenant//asterisk.conf config files and dedicated directories (/var/{cache,lib,log,spool}/asterisk/tenant/).

I’ve very recently discovered my cdr-csv/ directories are all empty (all 4 running Asterisk instances) though parent directories are normally filled with log files.

In those log files, I can’t read any CDR-related message of any WARNING, NOTICE, ERROR severity.

With Asterisk console and ‘cdr show status/active’, I’m reading

cdr show status

Call Detail Record (CDR) settings

Logging:                    Enabled
Mode:                       Simple
Log calls by default:       Yes
Log unanswered calls:       No
Log congestion:             No

Ignore bridging changes:    No

Ignore dial state changes:  No

Registered Backends

cdr-custom

Channels with Call Detail Record (CDR) Information

Channel                   Dst. Channel              LastApp         Start    Answer   End      Billsec  DurationPJSIP/foobar-000 Local/00123456789@tandem- Dial            10:53:42 10:53:44 10:53:44 00000000 00000002

How can I debug this ?

Best regards

You’re looking in cdr-csv but the output of cdr show status shows the cdr-custom backend in use, not cdr-csv. In this case, the files would be in the cdr-custom subdirectory.

Are you really running 22.0.0 or a current version of 22?

core show settings
PBX Core settings


Version: 22.0.0

cat cdr.conf

[general]
enable=yes

[csv]
usegmtime=yes ; log date/time in GMT. Default is “no”
loguniqueid=yes ; log uniqueid. Default is “no”
loguserfield=yes ; log user field. Default is “no”
accountlogs=yes ; create separate log file for each account code. Default is “yes”

Le lun. 8 juin 2026 à 15:26, gjoseph <notifications@asterisk.discoursemail.com> a écrit :

Someone replied to a topic you are Watching.

gjoseph Asterisk Developer
June 8

You’re looking in cdr-csv but the output of cdr show status shows the cdr-custom backend in use, not cdr-csv. In this case, the files would be in the cdr-custom subdirectory.

Are you really running 22.0.0 or a current version of 22?


Visit Topic or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, click here.

Have you loaded the cdr_csv module? Specifying that it is enabled in cdr.conf won’t do anything if the module isn’t loaded.

Yes that was it: an inconsistency between modules.conf and cdr_csv.conf !

Thank you very much for helping !