From ecb5b691018c8ff71583833ec9a09d8f2bef81f6 Mon Sep 17 00:00:00 2001
From: 64850858 <648540858@qq.com>
Date: 星期三, 09 六月 2021 09:28:29 +0800
Subject: [PATCH] 增加同步通道超时时间,修复hookIP空字符串时的hookIP的默认值赋值

---
 src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java
index 4fc28bc..404620a 100644
--- a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java
+++ b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java
@@ -34,6 +34,9 @@
 	@Value("${sip.keepaliveTimeOut:180}")
 	Integer keepaliveTimeOut;
 
+	@Value("${sip.registerTimeInterval:60}")
+	Integer registerTimeInterval;
+
 	public String getMonitorIp() {
 		return monitorIp;
 	}
@@ -69,4 +72,8 @@
 	public Integer getKeepaliveTimeOut() {
 		return keepaliveTimeOut;
 	}
+
+	public Integer getRegisterTimeInterval() {
+		return registerTimeInterval;
+	}
 }

--
Gitblit v1.8.0