From cb41892255d49abd1ca8d2d183532e788304e98b Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Mon, 25 Sep 2023 11:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E4=B8=8B=E8=BD=BD=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E6=97=B6=E4=B8=BB=E5=8A=A8=E5=8F=91=E9=80=81=20bye=20?= =?UTF-8?q?callId=20=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gb28181/mocking/service/device/DeviceProxyService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);