При появлении таких ошибок с конфигурацией Asterisk`а и MariaDB
res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found
res_odbc.c: The ‘pooling’, ‘shared_connections’, ‘limit’, and ‘idlecheck’ options were replaced by ‘max_connections’. See res_odbc.conf.sample.
Поставьте себе другой драйвер.
mkdir odbc_package
cd odbc_package
wget https://downloads.mariadb.com/Connectors/odbc/connector-odbc-3.0.8/mariadb-connector-odbc-3.0.8-ga-rhel7-x86_64.tar.gz
tar -xvzf mariadb-connector-odbc-3.0.8-ga-rhel7-x86_64.tar.gz
sudo install lib64/libmaodbc.so /usr/lib64/
/etc/odbcinst.ini
[mariadb]
Description = ODBC for MariaDB
Driver = /usr/lib64/libmaodbc.so
…