[Asterisk-Users] cdr_odbc with mysql on a remote server

brian brian at bkw.org
Thu May 27 06:08:37 MST 2004


> Contents of odbc.ini:
> [AsteriskCDR]
> Driver       = /usr/local/lib/libmyodbc3.so
> Description  = MySQL ODBC 3.51 Driver DSN
> SERVER       = mysql.websitemanagers.com.au
> PORT         =
> USER         = asteriskcdr
> Password     = yeahright
> Database     = phones
> OPTION       = 3
> SOCKET       =

[MySQL]  <--- this is the drivername used in odbc.ini
Description     = MySQL ODBC MyODBC Driver
Driver          = /usr/lib/libmyodbc3.so
FileUsage       = 1


odbc.ini:
[MySQL-asterisk]
Description     = MySQL ODBC Driver Testing
Driver          = MySQL
Server          = localhost
User            = user
Password        = pass
Database        = asterisk
Option          = 3
#Port           =

That should work.

bkw





More information about the asterisk-users mailing list