--- configs/cdr_pgsql.conf.sample 2010-10-10 01:25:37.000000000 +0200 +++ configs/cdr_pgsql.conf.sample.infoad 2010-12-22 14:30:14.000000000 +0100 @@ -13,3 +13,16 @@ ;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 + +; Note that no [columns] section is defined for this backend and +; no alias can be defined for column names. In order to use a pgsql +; reserved word like "end", simply define it as a column between quotes +; for example: +; CREATE TABLE cdr +;( +; .... +; calldate timestamp with time zone, +; answer timestamp with time zone, +; "end" timestamp with time zone, +; ..... +;);