[Asterisk-code-review] parking: Copy parker UUID as well. (asterisk[17.7])
Friendly Automation
asteriskteam at digium.com
Mon Aug 31 12:24:29 CDT 2020
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/14845 )
Change subject: parking: Copy parker UUID as well.
......................................................................
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
---
M res/parking/parking_bridge_features.c
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Kevin Harwell: Looks good to me, approved
George Joseph: Looks good to me, but someone else must approve; Verified
Friendly Automation: Approved for Submit
diff --git a/res/parking/parking_bridge_features.c b/res/parking/parking_bridge_features.c
index 3b4e25b..5bcdb21 100644
--- a/res/parking/parking_bridge_features.c
+++ b/res/parking/parking_bridge_features.c
@@ -212,6 +212,7 @@
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;
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14845
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 17.7
Gerrit-Change-Id: I7d396a14ea648bd26d3c363dd78e78bd386b544a
Gerrit-Change-Number: 14845
Gerrit-PatchSet: 2
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200831/c1d78482/attachment-0001.html>
More information about the asterisk-code-review
mailing list