[asterisk-bugs] [JIRA] (ASTERISK-26359) [patch] cdr_mysql: fails to use UTC if so instructed

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Aug 2 10:14:18 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-26359:
-------------------------------------

    Target Release Version/s: 15.0.0

> [patch] cdr_mysql: fails to use UTC if so instructed
> ----------------------------------------------------
>
>                 Key: ASTERISK-26359
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26359
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/cdr_mysql
>    Affects Versions: 13.10.0
>            Reporter: Tzafrir Cohen
>            Severity: Minor
>      Target Release: 11.24.0, 13.12.0, 14.1.0, 15.0.0
>
>         Attachments: cdr_mysql.diff
>
>
> cdr_mysql's default (an odd one, IMHO) is to insert CDR records in the local time zone. That is: if you happen to change the system's time zone, the records become invalid.
> According to the documentation, you can use UTC by setting timezone=UTC in [global] of cdr_mysql.conf (with an older name: usegmtime=yes).
> The problems are:
> 1. The code doesn't parse the option timezone. It's called 'cdrzone'.
> 2. It has no effect (unless in compat mode).
> A patch attached to fix both.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list