OK, so to clear things up, I tried the ALTER statement, and I get this error still. How, I do not know.
/var/log/asterisk/full:[Nov 3 13:37:57] VERBOSE[25801] config.c: == Binding queue_log to mysql/general/queue_log
/var/log/asterisk/full:[Nov 3 13:37:57] WARNING[25801] res_config_mysql.c: Realtime table general@queue_log: column 'time' cannot be type 'int(10) unsigned' (need char)
So, I thought, let's just delete the whole table and start again. Which I did. I used this to create the table:
CREATE TABLE `queue_log` (
`id` int(10) unsigned NOT NULL auto_increment,
`time` varchar(30) NOT NULL default '',
`callid` varchar(32) NOT NULL default '',
`queuename` varchar(32) NOT NULL default '',
`agent` varchar(32) NOT NULL default '',
`event` varchar(32) NOT NULL default '',
`data` varchar(255) NOT NULL default '',
PRIMARY KEY (`id`)
);
I still get the same error. Any ideas? I mean, I can only presume that you guys had this working at some point in order to implement the functionality on QM? Can you look at how the development machine was set up and tell me if it differs from what I am doing?
Tom