Missing CDR Records on ISO install

I’ve installed TangoPBX using TangoPBX-22.04.5_1.0.0-RC12.iso.
CDR do not log calls and asterisk -rx “odbc show asteriskcdrdb” returns:

ODBC DSN Settings

Name: asteriskcdrdb
DSN: MySQL-asteriskcdrdb
Last fail connection attempt: 2025-08-06 14:25:10
Number of active connections: 0 (out of 5)
Logging: Disabled

at least we need to change on /etc/odbc.ini file, the Socket part to Socket=/run/mysqld/mysqld.sock

1 Like

Thanks for the report @Pedro, I can confirm the same issue in the version I’m testing now.

1 Like

Appears to be fixed on RC19 (Aug 10, 2025, 402ea35e) with /etc/odbc.ini on fresh install containing:

$ cat /etc/odbc.ini
[MySQL-asteriskcdrdb]
Description=MySQL connection to 'asteriskcdrdb' database
driver=MySQL
server=localhost
database=asteriskcdrdb
Port=3306
Socket=/var/lib/mysql/mysql.sock
option=3
Charset=utf8