视频下载结束时主动发送 bye
callId 修正
This commit is contained in:
parent
91218eb59d
commit
cb41892255
@ -102,7 +102,7 @@ public class DeviceProxyService {
|
|||||||
String transport = request.getTopmostViaHeader().getTransport();
|
String transport = request.getTopmostViaHeader().getTransport();
|
||||||
long seqNumber = request.getCSeq().getSeqNumber() + 1;
|
long seqNumber = request.getCSeq().getSeqNumber() + 1;
|
||||||
SipProvider provider = sender.getProvider(transport, ip);
|
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());
|
Request byeRequest = SipRequestBuilder.createByeRequest(targetIp, targetPort, seqNumber, targetId, SipUtil.generateFromTag(), null, newCallId.getCallId());
|
||||||
try{
|
try{
|
||||||
provider.sendRequest(byeRequest);
|
provider.sendRequest(byeRequest);
|
||||||
|
Loading…
Reference in New Issue
Block a user