Thu Apr 28 2011 17:16:23

Asterisk developer's documentation


PostgreSQL CDR driver configuration

  • See also CDR configuration files
  • cdr_pgsql.c See also:
  • http://www.postgresql.org
    ; Sample Asterisk config file for CDR logging to PostgresSQL
    
    [global]
    ;hostname=localhost
    ;port=5432
    ;dbname=asterisk
    ;password=password
    ;user=postgres
    ;table=cdr		;SQL table where CDRs will be inserted
    ;encoding=LATIN9	; Encoding of logged characters in Asterisk