[asterisk-users] CDR with unix time.

Tilghman Lesher tilghman at meg.abyt.es
Thu Feb 10 12:13:49 CST 2011


On Thursday 10 February 2011 06:13:38 Rodrigo Lang wrote:
> I wonder if it is possible, without touching the source code, to
> Asterisk save the cdr with date in unix time instead of the default
> date. It's possible?

The answer is, it depends upon the backend version you're using.  With
cdr_pgsql and cdr_mysql from 1.6.2 forward, if the column type is integer
or float, then the unix timestamp will be used.

-- 
Tilghman



More information about the asterisk-users mailing list