summaryrefslogtreecommitdiff
path: root/configs/samples/cdr_pgsql.conf.sample
diff options
context:
space:
mode:
Diffstat (limited to 'configs/samples/cdr_pgsql.conf.sample')
-rw-r--r--configs/samples/cdr_pgsql.conf.sample16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/samples/cdr_pgsql.conf.sample b/configs/samples/cdr_pgsql.conf.sample
new file mode 100644
index 000000000..c5a989f31
--- /dev/null
+++ b/configs/samples/cdr_pgsql.conf.sample
@@ -0,0 +1,16 @@
+; Sample Asterisk config file for CDR logging to PostgresSQL
+;
+; 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)
+
+[global]
+;hostname=localhost
+;port=5432
+;dbname=asterisk
+;password=password
+;user=postgres
+;appname=asterisk ; Postgres application_name support (optional). Whitespace not allowed.
+;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