|  | @@ -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());
 |