• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 488
  • Last Modified:

Switch CDR recording from plain text to MySQL in Trixbox


I'm running Trixbox CE

I need to switch to MySQL for recording of CDR data.

Any help is appreciated.
1 Solution
Well, I though Trixbox already did that for you ..  But you should get off of Trixbox altogether as the CE is not longer supported and has a number of exposures.

Here is a simple example of query against the DB..

mysql -u asteriskuser -p

mysql> show databases;

mysql> show tables from asteriskcdrdb;

mysql> show asteriskcdrdb.cdr;

mysql> ex asteriskcdrdb.cdr;

mysql> select count(*) from asteriskcdrdb.cdr where datediff(now(), calldate) > 120;

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now