mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	app_queue: Member lastpause time reseting
This fixes the reseting members lastpause problem when realtime members is being used, the function rt_handle_member_record was forcing the reset members lastpause because it does not exist in realtime ASTERISK-29034 #close Change-Id: Ic9107e4456732a1f78412a32adb2ef87f5da40b5
This commit is contained in:
		
				
					committed by
					
						 Friendly Automation
						Friendly Automation
					
				
			
			
				
	
			
			
			
						parent
						
							71ceefa75d
						
					
				
				
					commit
					b2bd38a4f0
				
			| @@ -3458,7 +3458,7 @@ static void rt_handle_member_record(struct call_queue *q, char *category, struct | ||||
| 			ast_copy_string(m->rt_uniqueid, rt_uniqueid, sizeof(m->rt_uniqueid)); | ||||
| 			if (paused_str) { | ||||
| 				m->paused = paused; | ||||
| 				if (paused) { | ||||
| 				if (paused && m->lastpause == 0) { | ||||
| 					time(&m->lastpause); /* XXX: Should this come from realtime? */ | ||||
| 				} | ||||
| 				ast_devstate_changed(m->paused ? QUEUE_PAUSED_DEVSTATE : QUEUE_UNPAUSED_DEVSTATE, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user