by rajeevpn » Mon Oct 30, 2006 2:13 pm
From your previous post with show tables, it looks like the table - vicidial_hopper -is missing
You need the vicidial_hopper table with the following settings:
+----------------+---------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------------------------------+------+-----+---------+----------------+
| hopper_id | int(9) unsigned | NO | PRI | NULL | auto_increment |
| lead_id | int(9) unsigned | NO | MUL | | |
| campaign_id | varchar(8) | YES | | NULL | |
| status | enum('READY','QUEUE','INCALL','DONE') | YES | | READY | |
| user | varchar(20) | YES | | NULL | |
| list_id | bigint(14) unsigned | NO | | | |
| gmt_offset_now | decimal(4,2) | YES | | 0.00 | |
| state | varchar(2) | YES | | | |
+----------------+---------------------------------------+------+-----+---------+----------------+
which you can create by issuing
at prompt:
mysql
use asterisk;
CREATE TABLE vicidial_hopper (
hopper_id INT(9) UNSIGNED AUTO_INCREMENT PRIMARY KEY UNIQUE NOT NULL,
lead_id INT(9) UNSIGNED NOT NULL,
campaign_id VARCHAR(8),
status ENUM('READY','QUEUE','INCALL','DONE') default 'READY',
user VARCHAR(20),
list_id BIGINT(14) UNSIGNED NOT NULL,
gmt_offset_now DECIMAL(4,2) DEFAULT '0.00',
state VARCHAR(2) default '',
index (lead_id)
);
if you were to use the MySQL_AST_CREATE_tables.sql as described in Subphase 6.1 (Point 2), it should create the table on its own.
hope this helps
rajeev