V5

XSwitch v5.0.7 版发布

更新和 Bug 修复

XUI 更新:

  • 修复媒体文件阿里 TTS Bug;
  • 修复联系人详情页公开范围问题;
  • 修复用户超过 500 个时搜索 Bug;
  • 修复分组中用户搜索只能搜本页 Bug;
  • 修改预约会议,密码呼入话单部分数据不准确问题;
  • 修复 IVR 欢迎音;
  • 优化页面导入导出;

升级建议

可以按照部署文档重新从头搭建。

如果系统中使用的5.0.6版本,需要修改镜像名称和版本号以及更新数据库,具体操作如下:

Linux 修改docker-compose.yml文件,Mac 修改docker-compose-mac.yml文件,将文件中servicexswitchimage一行的版本号由5.0.6改为5.0.7

ccr.ccs.tencentyun.com/free/xswitch-community:5.0.6

修改为

ccr.ccs.tencentyun.com/free/xswitch-community:5.0.7

如果用 Nginx,还需要按照上边把servicexswitch-nginx-xuiimage一行的镜像名称和版本号也修改为5.0.7

此次更新数据库操作。

UPDATE params SET k = 'bind-local-secure' WHERE k = 'bind-local-1' AND realm = 'VERTO-PROFILE';
UPDATE params SET k = 'apply-candidate-acl:1' WHERE k = 'apply-candidate-acl-1' AND realm = 'VERTO-PROFILE';
UPDATE params SET k = 'apply-candidate-acl:2' WHERE k = 'apply-candidate-acl-2' AND realm = 'VERTO-PROFILE';
UPDATE params SET k = 'apply-candidate-acl:3' WHERE k = 'apply-candidate-acl-3' AND realm = 'VERTO-PROFILE';

UPDATE dicts SET v = '4.0.18' WHERE realm = 'XUI' and k = 'DBVER';
INSERT INTO logs (resource, action, user_id, user_name, summary, message)
    VALUES('XUI', 'UPDATE', 0, 'SYSTEM', '4.0.18', '{"DEVER": "4.0.18"}');

INSERT INTO params(realm, k, v, ref_id, disabled) VALUES('XCC-BINDINGS', 'CUSTOM3', 'video::resize', 0, 0);
INSERT INTO params(realm, k, v, ref_id, disabled) VALUES('XCC-BINDINGS', 'CUSTOM4', 'xcc::publish', 0, 0);
INSERT INTO params(realm, k, v, ref_id, disabled) VALUES('XCC-BINDINGS', 'CUSTOM7', 'video::resize', 1, 0);
INSERT INTO params(realm, k, v, ref_id, disabled) VALUES('XCC-BINDINGS', 'CUSTOM8', 'xcc::publish', 1, 0);
INSERT INTO params(realm, k, v, ref_id, disabled) VALUES('VERTO-SETTINGS', 'debug', '0', 0, 0);
UPDATE dicts SET v = '4.0.19' WHERE realm = 'XUI' and k = 'DBVER';
INSERT INTO logs (resource, action, user_id, user_name, summary, message)
    VALUES('XUI', 'UPDATE', 0, 'SYSTEM', '4.0.19', '{"DEVER": "4.0.19"}');

INSERT INTO params (realm, k, v, ref_id, disabled) VALUES('SOFIA', 'apply-candidate-acl', 'localnet.auto', 0, 1);
INSERT INTO params (realm, k, v, ref_id, disabled) VALUES('SOFIA', 'apply-candidate-acl:1', 'rfc1918.auto', 0, 1);
INSERT INTO params (realm, k, v, ref_id, disabled) VALUES('SOFIA', 'apply-candidate-acl:2', 'wan_v4.auto', 0, 1);
INSERT INTO params (realm, k, v, ref_id, disabled) VALUES('SOFIA', 'apply-candidate-acl:3', 'any_v4.auto', 0, 1);

UPDATE dicts SET v = '4.0.20' WHERE realm = 'XUI' and k = 'DBVER';
INSERT INTO logs (resource, action, user_id, user_name, summary, message)
    VALUES('XUI', 'UPDATE', 0, 'SYSTEM', '4.0.20', '{"DEVER": "4.0.20"}');

UPDATE params SET k = 'CUSTOM:1' WHERE k = 'CUSTOM1' AND realm = 'XCC-BINDINGS';
UPDATE params SET k = 'CUSTOM:2' WHERE k = 'CUSTOM2' AND realm = 'XCC-BINDINGS';
UPDATE params SET k = 'CUSTOM:3' WHERE k = 'CUSTOM3' AND realm = 'XCC-BINDINGS';
UPDATE params SET k = 'CUSTOM:4' WHERE k = 'CUSTOM4' AND realm = 'XCC-BINDINGS';
UPDATE params SET k = 'CUSTOM:5' WHERE k = 'CUSTOM5' AND realm = 'XCC-BINDINGS';
UPDATE params SET k = 'CUSTOM:6' WHERE k = 'CUSTOM6' AND realm = 'XCC-BINDINGS';
UPDATE params SET k = 'CUSTOM:7' WHERE k = 'CUSTOM7' AND realm = 'XCC-BINDINGS';
UPDATE params SET k = 'CUSTOM:8' WHERE k = 'CUSTOM8' AND realm = 'XCC-BINDINGS';

UPDATE dicts SET v = '4.0.21' WHERE realm = 'XUI' and k = 'DBVER';
INSERT INTO logs (resource, action, user_id, user_name, summary, message)
    VALUES('XUI', 'UPDATE', 0, 'SYSTEM', '4.0.21', '{"DEVER": "4.0.21"}');

修改后,执行make down关闭服务。

再执行make up重新启动服务,如果想用 nginx 则执行make up-nginx

结语

如果您刚接触 XSwitch,可以先阅读XSwitch 快速入门

如果大家在使用过程中遇到什么问题,可以参考https://xswitch.cn/pages/howto/trouble-shoot/

如果大家对我们的产品有好的意见或建议,欢迎给我们反馈。感谢您使用 XSwitch。

6.0.0