<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello.<br>
<br>
I'm using asterisk-1.6.2.13 with pgsql-backend for CDR. For [odbc]
and [csv] works usegmtime option but for [pgsql] it not. In source
files I find strings:<br>
<br>
1. cdr/cdr_csv.c<br>
<br>
ast_localtime(&when, &tm, usegmtime ? "GMT" : NULL);<br>
<br>
<br>
2. cdr/cdr_odbc.c<br>
<br>
ast_localtime(&cdr->start, &tm,
ast_test_flag(&config, CONFIG_USEGMTIME) ? "GMT" : NULL);<br>
<br>
<br>
3. cdr/cdr_pgsql.c<br>
<br>
<br>
ast_localtime(&cdr->start, &tm, NULL);<br>
<br>
…<br>
<br>
ast_localtime(&cdr->start, &tm, NULL);<br>
<br>
…<br>
<br>
ast_localtime(&cdr->end, &tm, NULL);<br>
<br>
<br>
So we can see that usegmtime is disabled in sources pgsql.c. <br>
<br>
<br>
May anyone developer enable this feature in the next relace of
asterisk?<br>
<br>
<blockquote>
<blockquote>Basov Evgeny.<br>
</blockquote>
</blockquote>
</body>
</html>