mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	parking: Copy parker UUID as well.
When fixing issues uncovered by GCC10 a copy of the parker UUID was removed accidentally. This change restores it so that the subscription has the data it needs. ASTERISK-29042 Change-Id: I7d396a14ea648bd26d3c363dd78e78bd386b544a
This commit is contained in:
		
				
					committed by
					
						 Joshua Colp
						Joshua Colp
					
				
			
			
				
	
			
			
			
						parent
						
							f225e9bf35
						
					
				
				
					commit
					c4bed96742
				
			| @@ -212,6 +212,7 @@ static int create_parked_subscription_full(struct ast_channel *chan, const char | ||||
| 	subscription_data->hangup_after = hangup_after; | ||||
| 	subscription_data->parkee_uuid = subscription_data->parker_uuid + parker_uuid_size; | ||||
| 	ast_copy_string(subscription_data->parkee_uuid, parkee_uuid, parkee_uuid_size); | ||||
| 	ast_copy_string(subscription_data->parker_uuid, parker_uuid, parker_uuid_size); | ||||
|  | ||||
| 	if (!(parked_datastore->parked_subscription = stasis_subscribe_pool(ast_parking_topic(), parker_update_cb, subscription_data))) { | ||||
| 		return -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user