去除多余日志
parent
91e671ec4b
commit
321b1b98fb
|
@ -153,7 +153,6 @@ public class SipSubscribe {
|
||||||
|
|
||||||
|
|
||||||
public void addSubscribe(String key, SipEvent event) {
|
public void addSubscribe(String key, SipEvent event) {
|
||||||
System.out.println(event.getDelay());
|
|
||||||
SipEvent sipEvent = subscribes.get(key);
|
SipEvent sipEvent = subscribes.get(key);
|
||||||
if (sipEvent != null) {
|
if (sipEvent != null) {
|
||||||
subscribes.remove(key);
|
subscribes.remove(key);
|
||||||
|
|
|
@ -83,7 +83,6 @@ public class SIPSender {
|
||||||
}
|
}
|
||||||
}), timeout == null ? sipConfig.getTimeout() : timeout);
|
}), timeout == null ? sipConfig.getTimeout() : timeout);
|
||||||
sipSubscribe.addSubscribe(callIdHeader.getCallId(), sipEvent);
|
sipSubscribe.addSubscribe(callIdHeader.getCallId(), sipEvent);
|
||||||
System.out.println("订阅数量" + sipSubscribe.size());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("TCP".equals(transport)) {
|
if ("TCP".equals(transport)) {
|
||||||
|
|
Loading…
Reference in New Issue