- 2016-12-22 17:58:18.035719 [ERR] switch_odbc.c:522 ERR: [CREATE TABLE channels (
- uuid VARCHAR(256),
- direction VARCHAR(32),
- created VARCHAR(128),
- created_epoch INTEGER,
- name VARCHAR(1024),
- state VARCHAR(64),
- cid_name VARCHAR(1024),
- cid_num VARCHAR(256),
- ip_addr VARCHAR(256),
- dest VARCHAR(1024),
- application VARCHAR(128),
- application_data VARCHAR(4096),
- dialplan VARCHAR(128),
- context VARCHAR(128),
- read_codec VARCHAR(128),
- read_rate VARCHAR(32),
- read_bit_rate VARCHAR(32),
- write_codec VARCHAR(128),
- write_rate VARCHAR(32),
- write_bit_rate VARCHAR(32),
- secure VARCHAR(64),
- hostname VARCHAR(256),
- presence_id VARCHAR(4096),
- presence_data VARCHAR(4096),
- accountcode VARCHAR(256),
- callstate VARCHAR(64),
- callee_name VARCHAR(1024),
- callee_num VARCHAR(256),
- callee_direction VARCHAR(5),
- call_uuid VARCHAR(256),
- sent_callee_name VARCHAR(1024),
- sent_callee_num VARCHAR(256),
- initial_cid_name VARCHAR(1024),
- initial_cid_num VARCHAR(256),
- initial_ip_addr VARCHAR(256),
- initial_dest VARCHAR(1024),
- initial_dialplan VARCHAR(128),
- initial_context VARCHAR(128)
- );
- ]
- [STATE: HY000 CODE 1118 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
- ]
- 2016-12-22 17:58:18.036017 [ERR] switch_odbc.c:522 ERR: [select * from basic_calls where sent_callee_name='']
- [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.basic_calls' doesn't exist
- ]
- 2016-12-22 17:58:18.036151 [ERR] switch_odbc.c:522 ERR: [DROP VIEW basic_calls]
- [STATE: 42S02 CODE 1051 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Unknown table 'freeswitch.basic_calls'
- ]
- 2016-12-22 17:58:18.036393 [ERR] switch_odbc.c:522 ERR: [create view basic_calls as select a.uuid as uuid,a.direction as direction,a.created as created,a.created_epoch as created_epoch,a.name as name,a.state as state,a.cid_name as cid_name,a.cid_num as cid_num,a.ip_addr as ip_addr,a.dest as dest,a.presence_id as presence_id,a.presence_data as presence_data,a.accountcode as accountcode,a.callstate as callstate,a.callee_name as callee_name,a.callee_num as ca llee_num,a.callee_direction as callee_direction,a.call_uuid as call_uuid,a.hostname as hostname,a.sent_callee_name as sent_callee_name,a.sent_callee_num as sent_callee_num,b.uuid as b_uuid,b.direction as b_direction,b.created as b _created,b.created_epoch as b_created_epoch,b.name as b_name,b.state as b_state,b.cid_name as b_cid_name,b.cid_num as b_cid_num,b.ip_addr as b_ip_addr,b.dest as b_dest,b.presence_id as b_presence_id,b.presence_data as b_presence_d ata,b.accountcode as b_accountcode,b.callstate as b_callstate,b.callee_name as b_callee_name,b.callee_num as b_callee_num,b.callee_direction as b_callee_direction,b.sent_callee_name as b_sent_callee_name,b.sent_callee_num as b_sen t_callee_num,c.call_created_epoch as call_created_epoch from channels a left join calls c on a.uuid = c.caller_uuid and a.hostname = c.hostname left join channels b on b.uuid = c.callee_uuid and b.hostname = c.hostname where a.uui d = c.caller_uuid or a.uuid not in (select callee_uuid from calls)]
- [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- 2016-12-22 17:58:18.036551 [ERR] switch_odbc.c:522 ERR: [select * from detailed_calls where sent_callee_name='']
- [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.detailed_calls' doesn't exist
- ]
- 2016-12-22 17:58:18.036701 [ERR] switch_odbc.c:522 ERR: [DROP VIEW detailed_calls]
- [STATE: 42S02 CODE 1051 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Unknown table 'freeswitch.detailed_calls'
- ]
- 2016-12-22 17:58:18.036958 [ERR] switch_odbc.c:522 ERR: [create view detailed_calls as select a.uuid as uuid,a.direction as direction,a.created as created,a.created_epoch as created_epoch,a.name as name,a.state as state,a.cid_name as cid_name,a.cid_num as cid_num,a.ip_addr as ip_addr,a.dest as dest,a.application as application,a.application_data as application_data,a.dialplan as dialplan,a.context as context,a.read_codec as read_codec,a.read_rate as read_r ate,a.read_bit_rate as read_bit_rate,a.write_codec as write_codec,a.write_rate as write_rate,a.write_bit_rate as write_bit_rate,a.secure as secure,a.hostname as hostname,a.presence_id as presence_id,a.presence_data as presence_dat a,a.accountcode as accountcode,a.callstate as callstate,a.callee_name as callee_name,a.callee_num as callee_num,a.callee_direction as callee_direction,a.call_uuid as call_uuid,a.sent_callee_name as sent_callee_name,a.sent_callee_n um as sent_callee_num,b.uuid as b_uuid,b.direction as b_direction,b.created as b_created,b.created_epoch as b_created_epoch,b.name as b_name,b.state as b_state,b.cid_name as b_cid_name,b.cid_num as b_cid_num,b.ip_addr as b_ip_addr ,b.dest as b_dest,b.application as b_application,b.application_data as b_application_data,b.dialplan as b_dialplan,b.context as b_context,b.read_codec as b_read_codec,b.read_rate as b_read_rate,b.read_bit_rate as b_read_bit_rate,b .write_codec as b_write_codec,b.write_rate as b_write_rate,b.write_bit_rate as b_write_bit_rate,b.secure as b_secure,b.hostname as b_hostname,b.presence_id as b_presence_id,b.presence_data as b_presence_data,b.accountcode as b_acc ountcode,b.callstate as b_callstate,b.callee_name as b_callee_name,b.callee_num as b_callee_num,b.callee_direction as b_callee_direction,b.call_uuid as b_call_uuid,b.sent_callee_name as b_sent_callee_name,b.sent_callee_num as b_se nt_callee_num,c.call_created_epoch as call_created_epoch from channels a left join calls c on a.uuid = c.caller_uuid and a.hostname = c.hostname left join channels b on b.uuid = c.callee_uuid and b.hostname = c.hostname where a.uu id = c.caller_uuid or a.uuid not in (select callee_uuid from calls)]
- [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- 2016-12-22 17:58:18.037524 [ERR] switch_odbc.c:522 ERR: [delete from channels where hostname='']
- [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- 2016-12-22 17:58:18.037541 [ERR] switch_core_sqldb.c:587 ODBC SQL ERR [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- delete from channels where hostname=''
- 2016-12-22 17:58:18.037547 [ERR] switch_core_sqldb.c:3540 Database Error [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- 2016-12-22 17:58:18.037557 [INFO] switch_core_sqldb.c:3396 Opening DB
- 2016-12-22 17:58:18.037687 [ERR] switch_odbc.c:522 ERR: [delete from channels where hostname='fs.nuari.net']
- [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- 2016-12-22 17:58:18.037702 [ERR] switch_core_sqldb.c:587 ODBC SQL ERR [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- delete from channels where hostname='fs.nuari.net'
- 2016-12-22 17:58:18.039390 [ERR] switch_odbc.c:522 ERR: [select call_uuid, read_bit_rate, sent_callee_name, initial_cid_name, initial_cid_num, initial_ip_addr, initial_dest, initial_dialplan, initial_context, accountcode from chan nels]
- [STATE: 42S02 CODE 1146 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Table 'freeswitch.channels' doesn't exist
- ]
- 2016-12-22 17:58:18.039537 [ERR] switch_odbc.c:522 ERR: [DROP TABLE channels]
- [STATE: 42S02 CODE 1051 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Unknown table 'freeswitch.channels'
- ]
- 2016-12-22 17:58:18.039744 [ERR] switch_odbc.c:522 ERR: [CREATE TABLE channels (
- uuid VARCHAR(256),
- direction VARCHAR(32),
- created VARCHAR(128),
- created_epoch INTEGER,
- name VARCHAR(1024),
- state VARCHAR(64),
- cid_name VARCHAR(1024),
- cid_num VARCHAR(256),
- ip_addr VARCHAR(256),
- dest VARCHAR(1024),
- application VARCHAR(128),
- application_data VARCHAR(4096),
- dialplan VARCHAR(128),
- context VARCHAR(128),
- read_codec VARCHAR(128),
- read_rate VARCHAR(32),
- read_bit_rate VARCHAR(32),
- write_codec VARCHAR(128),
- write_rate VARCHAR(32),
- write_bit_rate VARCHAR(32),
- secure VARCHAR(64),
- hostname VARCHAR(256),
- presence_id VARCHAR(4096),
- presence_data VARCHAR(4096),
- accountcode VARCHAR(256),
- callstate VARCHAR(64),
- callee_name VARCHAR(1024),
- callee_num VARCHAR(256),
- callee_direction VARCHAR(5),
- call_uuid VARCHAR(256),
- sent_callee_name VARCHAR(1024),
- sent_callee_num VARCHAR(256),
- initial_cid_name VARCHAR(1024),
- initial_cid_num VARCHAR(256),
- initial_ip_addr VARCHAR(256),
- initial_dest VARCHAR(1024),
- initial_dialplan VARCHAR(128),
- initial_context VARCHAR(128)
- );
- ]
- [STATE: HY000 CODE 1118 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.7.17-log]Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs