freeswitch默认sqlite数据库改为mysql

启动不了,使用/usr/bin/freeswitch -c -nonat -rp 查看错误

遇到问题 Row size too large。。。。。。

使用下面的sql提前创建表

CREATE TABLE channels (

   uuid  VARCHAR(256),

   direction  VARCHAR(32),

   created  VARCHAR(128),

   created_epoch  INTEGER,

   name  text,

   state  VARCHAR(64),

   cid_name  text,

   cid_num  VARCHAR(256),

   ip_addr  VARCHAR(256),

   dest  text,

   application  VARCHAR(128),

   application_data  text,

   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 text,

   presence_data text,

   accountcode VARCHAR(256),

   callstate  VARCHAR(64),

   callee_name  text,

   callee_num  VARCHAR(256),

   callee_direction  VARCHAR(5),

   call_uuid  VARCHAR(256),

   sent_callee_name  text,

   sent_callee_num  VARCHAR(256),

   initial_cid_name  text,

   initial_cid_num  VARCHAR(256),

   initial_ip_addr  VARCHAR(256),

   initial_dest  text,

   initial_dialplan  VARCHAR(128),

   initial_context  VARCHAR(128)

)


内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://tranfer.cn/?id=74