Asterisk: логируем cel и cdr в mysql через odbc
Устанавливаем недостающие пакеты unixODBC apt-get install unixODBC unixODBC-dev libmyodbc Настройки ODBC: cat /etc/odbcinst.ini [MySQL] Description = ODBC for MySQL Driver = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so FileUsage = 1 cat /etc/odbc.ini [asterisk-connector] Description = MySQL connection to ‘asterisk’ database Driver = MySQL Database = ast Server = localhost UserName = user Password = pass Port =… Читати далі »