From: Joshua C. Colp Date: Fri, 28 Aug 2020 09:29:23 +0000 (-0300) Subject: parking: Copy parker UUID as well. X-Git-Tag: 16.13.0-rc2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d0a2bd290a4abf694b90087c95140535613d9c4;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/parking/parking_bridge_features.c b/res/parking/parking_bridge_features.c index 8c547aaf90..7728f0d06c 100644 --- a/res/parking/parking_bridge_features.c +++ b/res/parking/parking_bridge_features.c @@ -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;