修正平台Keepalive错误

This commit is contained in:
lawrencehj
2021-03-10 14:37:17 +08:00
parent f840c85666
commit b01ec1d727
3 changed files with 6 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ public class PlatformKeepaliveExpireEventLister implements ApplicationListener<P
// 有3次未收到心跳回复, 设置平台状态为离线, 开始重新注册
logger.warn("有3次未收到心跳回复,标记设置平台状态为离线, 并重新注册 平台国标ID" + event.getPlatformGbID());
publisher.platformNotRegisterEventPublish(event.getPlatformGbID());
parentPlatformCatch.setKeepAliveReply(0);
}else {
// 再次发送心跳
String callId = sipCommanderForPlatform.keepalive(parentPlatform);