On 15.10.2015 г. 04:45 ч., Chris Cappuccio wrote:
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.
Hi Chris and Stuart,
Thanks for replies.
At least I did not miss anything obvious :-)
As I took deep thought, Chris idea for importing csv is much better than
including more software (problems) in the equation.
Thanks for the info and ideas.
Ivo