Merge remote-tracking branch 'origin/wvp-28181-2.0' into wvp-28181-2.0
| | |
| | | parentPlatformCatch.setParentPlatform(parentPlatform); |
| | | parentPlatformCatch.setId(parentPlatform.getServerGBId()); |
| | | redisCatchStorage.updatePlatformCatchInfo(parentPlatformCatch); |
| | | if (parentPlatformCatchOld != null) { |
| | | // 取消订阅 |
| | | sipCommanderForPlatform.unregister(parentPlatform, parentPlatformCatchOld.getSipTransactionInfo(), null, (eventResult)->{ |
| | | platformService.login(parentPlatform); |
| | | }); |
| | | } |
| | | |
| | | // 设置所有平台离线 |
| | | platformService.offline(parentPlatform, true); |
| | | } |