res_odbc.conf and cdr_odbc.conf sample files for MySQL/MariaDB


On a previous opportunity we configured our Asterisk installation to connect with MariaDB (or MySQL) database through ODBC, using unixODBC. Well, this is a sample of the res_odbc.conf and cdr_odbc.conf files that would work just out of the box with that configuration:   This is the /etc/asterisk/res_odbc.conf file, where we configure our DSNs as available resources for Asterisk. Remember The default context name expected by Asterisk is 'asterisk', but it could have been called whatever you want as long as you remember that name and configure it correctly in the…

Initial Configuration of Asterisk 4.3 years ago 0 Answers