diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2016-09-12 15:37:30 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2016-09-21 09:27:34 -0500 |
commit | fc16739600d89de5cd2e758ac50b1f50db0adb77 (patch) | |
tree | e9fec419cdd4e6f7e5f68452b7dca8a477faf71d /configs | |
parent | 2684ffd9cd013d006ba9808bfa5498fa1db74b90 (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.sample | 5 |
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 |