Exporting asterisk cdr to phpmyadmin

Hi, I’m new at asterisk and I need help to store asterisk CDR into mysql database using phpmyadmin.
I want just to say that I installed asterisk on centos6 ( which is installed on virtual machine) and phpmyadmin is installed on windows 7.
thinks for help

Not sure what you mean about using phpmyadmin. phpMyAdmin is just a client used to view and/or modify the database.

To get realtime working, you’ll need to install unixodbc and unixodbc-dev, possibly recompile Asterisk to add cdr_adaptive_odbc, res_odbc, and res_config_odbc. Create a connection in /etc/odbc.ini and /etc/odbcinst.ini. Modify /etc/cdr_adaptive_odbc.conf, /etc/asterisk/res_odbc.conf, and /etc/asterisk/res_config_odbc.conf. there are plenty of tutorials on that config, or you may be able to gleen in from “make samples” after asterisk is compiled.

1 Like