[asterisk-users] CDR with unix time.

Faisal Hanif faisal at vopium.com
Thu Feb 10 06:51:33 CST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110210/050f0fa9/attachment.htm>


More information about the asterisk-users mailing list