修复ack超时事件异常执行的bug

结构优化
648540858 2024-02-07 21:18:36 +08:00
parent f2f70fce98
commit e5856a9f91
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ public class AckRequestProcessor extends SIPRequestProcessorParent implements In
@Override
public void process(RequestEvent evt) {
CallIdHeader callIdHeader = (CallIdHeader)evt.getRequest().getHeader(CallIdHeader.NAME);
dynamicTask.stop(callIdHeader.getCallId());
String fromUserId = ((SipURI) ((HeaderAddress) evt.getRequest().getHeader(FromHeader.NAME)).getAddress().getURI()).getUser();
String toUserId = ((SipURI) ((HeaderAddress) evt.getRequest().getHeader(ToHeader.NAME)).getAddress().getURI()).getUser();
logger.info("[收到ACK] 来自->{}", fromUserId);