wok diff asterisk/stuff/etc/asterisk/cdr_mysql.conf @ rev 2603

Up: clamav (0.95.1)[security fix]
author Paul Issott <paul@slitaz.org>
date Fri Apr 10 18:03:20 2009 +0000 (2009-04-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/asterisk/stuff/etc/asterisk/cdr_mysql.conf	Fri Apr 10 18:03:20 2009 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +;
     1.5 +; Note - if the database server is hosted on the same machine as the
     1.6 +; asterisk server, you can achieve a local Unix socket connection by
     1.7 +; setting hostname=localhost
     1.8 +;
     1.9 +; port and sock are both optional parameters.  If hostname is specified
    1.10 +; and is not "localhost", then cdr_mysql will attempt to connect to the
    1.11 +; port specified or use the default port.  If hostname is not specified
    1.12 +; or if hostname is "localhost", then cdr_mysql will attempt to connect
    1.13 +; to the socket file specified by sock or otherwise use the default socket
    1.14 +; file.
    1.15 +;
    1.16 +[global]
    1.17 +hostname=127.0.0.1
    1.18 +dbname=asterisk
    1.19 +table=cdr
    1.20 +password= 
    1.21 +user=root
    1.22 +port=3306
    1.23 +sock=/var/run/mysqld/mysqld.sock
    1.24 +;userfield=1