This commit is contained in:
648540858
2022-03-16 17:46:24 +08:00
parent 4a0fd9ead3
commit c8f9f19c38
3 changed files with 3 additions and 2 deletions

View File

@@ -230,6 +230,7 @@ public class SIPRequestHeaderProvider {
Request request = null;
if (streamInfo == null) return null;
Dialog dialog = streamSession.getDialogByStream(streamInfo.getDeviceID(), streamInfo.getChannelId(), streamInfo.getStream());
if (dialog == null) return null;
SipURI requestLine = sipFactory.createAddressFactory().createSipURI(device.getDeviceId(),
device.getHostAddress());