diff --git a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/logger/ServerLoggerImpl.java b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/logger/ServerLoggerImpl.java index 07138e4..0aea692 100644 --- a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/logger/ServerLoggerImpl.java +++ b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/logger/ServerLoggerImpl.java @@ -25,7 +25,7 @@ public class ServerLoggerImpl implements ServerLogger { if (!showLog) { return; } - String log = (sender ? "发送: 目标 =>" + from : "接收: 来自 => " + to) + "\r\n" + message; + String log = (sender ? "发送: 目标 =>" + to : "接收: 来自 => " + from) + "\r\n" + message; this.stackLogger.logInfo(log); } @@ -34,7 +34,7 @@ public class ServerLoggerImpl implements ServerLogger { if (!showLog) { return; } - String log = (sender ? "发送: 目标 =>" + from : "接收: 来自 => " + to) + "\r\n" + message; + String log = (sender ? "发送: 目标 =>" + to : "接收: 来自 => " + from) + "\r\n" + message; this.stackLogger.logInfo(log); } @@ -43,7 +43,7 @@ public class ServerLoggerImpl implements ServerLogger { if (!showLog) { return; } - String log = (sender ? "发送: 目标 =>" + from : "接收: 来自 => " + to) + "\r\n" + message; + String log = (sender ? "发送: 目标 =>" + to : "接收: 来自 => " + from) + "\r\n" + message; this.stackLogger.logInfo(log); } diff --git a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/service/SipServiceImpl.java b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/service/SipServiceImpl.java index dc01959..a8f06cb 100644 --- a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/service/SipServiceImpl.java +++ b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/core/sip/service/SipServiceImpl.java @@ -5,7 +5,6 @@ import cn.skcks.docking.gb28181.core.sip.message.parser.GbStringMsgParserFactory import cn.skcks.docking.gb28181.core.sip.properties.DefaultProperties; import gov.nist.javax.sip.SipProviderImpl; import gov.nist.javax.sip.SipStackImpl; -import gov.nist.javax.sip.stack.MessageProcessorFactory; import lombok.Data; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j;