- nano /etc/asterisk/cdr_adaptive_odbc.conf
[adaptive_connection]
connection=asteriskcdrdb
table=cdr
alias start => calldate - Modified the /etc/odbc.ini to reflect
[MySQL-asteriskcdrdb]
Description=MySQL connection to 'asterisk' database
driver=MySQL
server=localhost
database=asteriskcdrdb
username=freepbx (user name and password from /etc/freepbx.conf)
password=fpbx
Port=3306
Socket=/var/lib/mysql/mysql.sock
option=3 - module reload res_odbc.so
- module reload cdr_adaptive_odbc.so
- restart Asterisk
cdr show status
module show cdr
module show mysql
odbc show
0 comments:
Post a Comment