wok annotate asterisk/stuff/etc/asterisk/cdr_mysql.conf @ rev 6061
acl: Upgrade to 2.2.49
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Fri Aug 20 23:26:36 2010 +0000 (2010-08-20) |
parents | |
children |
rev | line source |
---|---|
pascal@1806 | 1 ; |
pascal@1806 | 2 ; Note - if the database server is hosted on the same machine as the |
pascal@1806 | 3 ; asterisk server, you can achieve a local Unix socket connection by |
pascal@1806 | 4 ; setting hostname=localhost |
pascal@1806 | 5 ; |
pascal@1806 | 6 ; port and sock are both optional parameters. If hostname is specified |
pascal@1806 | 7 ; and is not "localhost", then cdr_mysql will attempt to connect to the |
pascal@1806 | 8 ; port specified or use the default port. If hostname is not specified |
pascal@1806 | 9 ; or if hostname is "localhost", then cdr_mysql will attempt to connect |
pascal@1806 | 10 ; to the socket file specified by sock or otherwise use the default socket |
pascal@1806 | 11 ; file. |
pascal@1806 | 12 ; |
pascal@1806 | 13 [global] |
pascal@1806 | 14 hostname=127.0.0.1 |
pascal@1806 | 15 dbname=asterisk |
pascal@1806 | 16 table=cdr |
pascal@1806 | 17 password= |
pascal@1806 | 18 user=root |
pascal@1806 | 19 port=3306 |
pascal@1806 | 20 sock=/var/run/mysqld/mysqld.sock |
pascal@1806 | 21 ;userfield=1 |