Stuart Henderson [s...@spacehopper.org] wrote: > On 2015-10-14, Ivo Chutkin <open...@bgone.net> wrote: > > Hello all, > > I want to use Asterisk with MariaDB CDR backend. > > I have working Asterisk. > > I have working MariaDB. > > As far as I understand, since Asterisk 11 I must use ODBC connector to > > MariaDB. > > Unfortunately I cannot find any practical info concerning OpenBSD, > > Asterisk, ODBC and MariaDB. > > I tried iodbc package but I cannot find mysql drivers. > > The iodbc package just contains the ODBC library, it doesn't come with > any database drivers itself. AFAIK at the moment the only drivers we have > are sybase/sql server (in the "freetds" package), postgresql (the > "postgresql-odbc" package) and access ("mdbtools"). > > I think you need either "MariaDB Connector/ODBC" or "MySQL Connector/ODBC" > but these aren't in ports/packages yet.
In my experience asterisk is more reliable with text cdr logging. Creating a script to import CSV into the mysql cli tool is trivial.