Created
September 2, 2011 11:36
-
-
Save kwk/1188417 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've recreated the ast_cdr table and reloaded the asterisk module for adaptive ODBC. But still no luck: | |
CREATE TABLE `ast_cdr` ( | |
`calldate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | |
`uniqueid` varchar(32) CHARACTER SET ascii COLLATE ascii_bin NOT NULL, | |
`clid` varchar(80) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '', | |
`src` varchar(30) NOT NULL DEFAULT '', | |
`dst` varchar(30) NOT NULL DEFAULT '', | |
`dcontext` varchar(50) NOT NULL DEFAULT '', | |
`channel` varchar(60) NOT NULL DEFAULT '', | |
`dstchannel` varchar(60) NOT NULL DEFAULT '', | |
`lastapp` varchar(30) NOT NULL DEFAULT '', | |
`lastdata` varchar(80) NOT NULL DEFAULT '', | |
`duration` mediumint(8) unsigned NOT NULL DEFAULT '0', | |
`billsec` mediumint(8) unsigned NOT NULL DEFAULT '0', | |
`disposition` varchar(15) NOT NULL DEFAULT '', | |
`amaflags` tinyint(3) unsigned NOT NULL DEFAULT '0', | |
`accountcode` varchar(25) NOT NULL DEFAULT '', | |
`userfield` varchar(255) NOT NULL DEFAULT '', | |
`sequence` char(32) DEFAULT NULL, | |
`linkedid` char(32) DEFAULT NULL | |
) ENGINE=MyISAM AUTO_INCREMENT=2964 DEFAULT CHARSET=ascii | |
dev-lt-tk1*CLI> module reload cdr_adaptive_odbc.so | |
-- Reloading module 'cdr_adaptive_odbc.so' (Adaptive ODBC CDR backend) | |
== Parsing '/opt/gemeinschaft/etc/asterisk/cdr_adaptive_odbc.conf': == Found | |
-- Found adaptive CDR table ast_cdr@odbc-voipstat101. | |
> Found calldate column with type 93 with len 19, octetlen 19, and numlen (0,10) | |
> Found uniqueid column with type -9 with len 32, octetlen 32, and numlen (0,0) | |
> Found clid column with type -9 with len 80, octetlen 240, and numlen (0,0) | |
> Found src column with type -9 with len 30, octetlen 30, and numlen (0,0) | |
> Found dst column with type -9 with len 30, octetlen 30, and numlen (0,0) | |
> Found dcontext column with type -9 with len 50, octetlen 50, and numlen (0,0) | |
> Found channel column with type -9 with len 60, octetlen 60, and numlen (0,0) | |
> Found dstchannel column with type -9 with len 60, octetlen 60, and numlen (0,0) | |
> Found lastapp column with type -9 with len 30, octetlen 30, and numlen (0,0) | |
> Found lastdata column with type -9 with len 80, octetlen 80, and numlen (0,0) | |
> Found duration column with type 4 with len 8, octetlen 8, and numlen (0,10) | |
> Found billsec column with type 4 with len 8, octetlen 8, and numlen (0,10) | |
> Found disposition column with type -9 with len 15, octetlen 15, and numlen (0,0) | |
> Found amaflags column with type -6 with len 3, octetlen 3, and numlen (0,10) | |
> Found accountcode column with type -9 with len 25, octetlen 25, and numlen (0,0) | |
> Found userfield column with type -9 with len 255, octetlen 255, and numlen (0,0) | |
> Found sequence column with type -8 with len 32, octetlen 32, and numlen (0,0) | |
> Found linkedid column with type -8 with len 32, octetlen 32, and numlen (0,0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment