[asterisk-users] CDR_MYSQL 1.4 Database Structure
Robert Broyles
bahjons at gmail.com
Wed Dec 30 10:52:48 CST 2009
So I'm noticing from the docs/ on Asterisk Addons 1.4.10 that the
database structure for cdr_mysql is:
CREATE TABLE cdr (
calldate datetime NOT NULL default '0000-00-00 00:00:00',
clid varchar(80) NOT NULL default '',
src varchar(80) NOT NULL default '',
dst varchar(80) NOT NULL default '',
dcontext varchar(80) NOT NULL default '',
channel varchar(80) NOT NULL default '',
dstchannel varchar(80) NOT NULL default '',
lastapp varchar(80) NOT NULL default '',
lastdata varchar(80) NOT NULL default '',
duration int(11) NOT NULL default '0',
billsec int(11) NOT NULL default '0',
disposition varchar(45) NOT NULL default '',
amaflags int(11) NOT NULL default '0',
accountcode varchar(20) NOT NULL default '',
uniqueid varchar(32) NOT NULL default '',
userfield varchar(255) NOT NULL default ''
);
Just curious if anyone has successfully patched cdr_addon_mysql to use
accept the latest cdr fields from 1.4 ... namely: 'start', 'answer', 'end'?
Seems logical that the cdr_mysql addon should be updated to reflect the
current cdr. And for backwards compatibility it can still accept
'calldate'.
Thanks in advance
More information about the asterisk-users
mailing list