[asterisk-users] CDR with unix time.

Tilghman Lesher tilghman at meg.abyt.es
Thu Feb 10 12:16:53 CST 2011


On Thursday 10 February 2011 07:41:56 Mindaugas Kezys wrote:
> 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?
>
> Just use uniqueid, which is exactly what you want. No modification is
> necessary.

That only works if a) he only wants the start time in unixtime, and b) if
he's not using ForkCDR, which causes CDRs to start at times after the
channel was created.

-- 
Tilghman



More information about the asterisk-users mailing list