| 1 |
; Sample Asterisk config file for CDR logging to PostgresSQL |
| 2 |
; |
| 3 |
; Note that you can use TLS connections to your database server. |
| 4 |
; This is configured for your PostgreSQL client installation |
| 5 |
; on this system (check for pgsessions.conf) |
| 6 |
|
| 7 |
[global] |
| 8 |
;hostname=localhost ; Database server hostname |
| 9 |
;port=5432 ; Port number for the PostgreSQL server |
| 10 |
;dbname=asterisk ; Database name |
| 11 |
;user=asterisk ; Username for the database |
| 12 |
;password=password ; Password for the user |
| 13 |
;appname=asterisk ; Optional PostgreSQL application_name (no whitespace allowed) |
| 14 |
;table=cdr ; SQL table where Call Detail Records (CDRs) will be inserted |
| 15 |
;encoding=LATIN9 ; Character encoding for logged data |
| 16 |
;timezone=UTC ; Uncomment to log datetime fields in UTC/GMT |
| 17 |
|