Configure Asterisk 16 on OpenBSD 6.8

Configure PostgreSQL CDR

Edit /etc/asterisk/cdr_pgsql.conf

[global]
hostname=localhost
port=5432
dbname=asterisk
password=O4fGUkCi1qu37sKP
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
Configure LDAP