2003-11-25 01:17:50 +00:00
|
|
|
; Sample Asterisk config file for CDR logging to PostgresSQL
|
2009-10-10 08:30:24 +00:00
|
|
|
;
|
|
|
|
; Note that you can use TLS connections to your database server.
|
|
|
|
; This is configured for your PostgreSQL client installation
|
|
|
|
; on this system (check for pgsessions.conf)
|
2003-11-25 01:17:50 +00:00
|
|
|
|
|
|
|
[global]
|
|
|
|
;hostname=localhost
|
|
|
|
;port=5432
|
|
|
|
;dbname=asterisk
|
|
|
|
;password=password
|
|
|
|
;user=postgres
|
2004-12-09 20:34:35 +00:00
|
|
|
;table=cdr ;SQL table where CDRs will be inserted
|
2010-09-22 15:18:49 +00:00
|
|
|
;encoding=LATIN9 ; Encoding of logged characters in Asterisk
|
2010-10-11 03:20:17 +00:00
|
|
|
;timezone=UTC ; Uncomment if you want datetime fields in UTC/GMT
|