diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java index 6d8a068..83a3947 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java @@ -102,7 +102,7 @@ public class DeviceProxyService { String transport = request.getTopmostViaHeader().getTransport(); long seqNumber = request.getCSeq().getSeqNumber() + 1; SipProvider provider = sender.getProvider(transport, ip); - CallIdHeader newCallId = provider.getNewCallId(); + CallIdHeader newCallId = request.getCallId(); Request byeRequest = SipRequestBuilder.createByeRequest(targetIp, targetPort, seqNumber, targetId, SipUtil.generateFromTag(), null, newCallId.getCallId()); try{ provider.sendRequest(byeRequest);