[asterisk-users] Enable CDR logging?

Doug Lytle support at drdos.info
Sun Aug 19 12:59:04 CDT 2012


Stefan at WPF wrote:
> Thanks for any hint :-)

/etc/odbc.ini

[MySQL-cdr]
Description     = CDR Database
Driver          = MySQL
Socket          = /var/lib/mysql/mysql.sock
Server          = 172.19.8.9
User            = username
Password        = password
Database        = asteriskcdr
Option          = 3

/etc/asterisk/res_odbc.conf

[MySQL-cdr]
enable => yes
dsn => MySQL-cdr
username => username
password => password
preconnect => yes

/etc/asterisk/cdr_odbc.conf

[global]
dsn=MySQL-cdr
;loguniqueid=yes
dispositionstring=yes
table=cdr
usegmtime=no
;hrtime=yes


Doug


-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list