summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2016-09-12 15:37:30 +0300
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2016-09-21 09:29:05 -0500
commit42cc267016229a7d6e9d525c860ff303912220cc (patch)
tree2900ceeb9d4cb8af0b7e91868acd95f95785396b /configs
parentf16ab192922b6532e653bde41ceb7dd33e73e04e (diff)
cdr_mysql: fix UTC support
* Make 'cdrzone=UTC' work properly. * Fix the documentation of cdr_mysql.conf: it's cdrzone and not timezone ASTERISK-26359 #close Change-Id: I2a6f67b71bbbe77cac31a34d0bbfb1d67c933778
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/cdr_mysql.conf.sample5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/samples/cdr_mysql.conf.sample b/configs/samples/cdr_mysql.conf.sample
index 04b70493b..e15a8ed93 100644
--- a/configs/samples/cdr_mysql.conf.sample
+++ b/configs/samples/cdr_mysql.conf.sample
@@ -18,7 +18,10 @@
;user=asteriskcdruser
;port=3306
;sock=/tmp/mysql.sock
-;timezone=UTC ; Previously called usegmtime
+; By default CDRs are logged in the system's time zone
+;cdrzone=UTC ; log CDRs with UTC
+;usegmtime=yes ;log date/time in GMT. Default is "no"
+;cdrzone=America/New_York ; or use a specific time zone
;
; If your system's locale differs from mysql database character set,
; cdr_mysql can damage non-latin characters in CDR variables. Use this