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
|
2014-07-16 13:55:36 +00:00
|
|
|
;appname=asterisk ; Postgres application_name support (optional). Whitespace not allowed.
|
2014-07-17 21:17:28 +00:00
|
|
|
;table=cdr ;SQL table where CDRs will be inserted
|
|
|
|
;encoding=LATIN9 ; Encoding of logged characters in Asterisk
|
|
|
|
;timezone=UTC ; Uncomment if you want datetime fields in UTC/GMT
|