Well. I suggest to use DB function instead of modifying asterisk source. You 
can add one additional column and write and after-insert trigger in your cdrs 
table which convert dattime to your required format and update the value of 
added column.

From: Rodrigo Lang 
Sent: Thursday, February 10, 2011 5:13 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion 
Subject: [asterisk-users] CDR with unix time.

Good morning everyone.

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?


Thanks in advance,
-- 
Rodrigo Lang
Opening your mind - Just another Open Source site




--------------------------------------------------------------------------------
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to