[asterisk-bugs] [JIRA] (ASTERISK-29042) res_parking: Parker UUID is no longer copied
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Mon Aug 24 09:58:43 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp updated ASTERISK-29042:
--------------------------------------
Summary: res_parking: Parker UUID is no longer copied (was: parker_uuid is no longer copied after a change in parking_bridge_features.c)
> res_parking: Parker UUID is no longer copied
> --------------------------------------------
>
> Key: ASTERISK-29042
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29042
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_parking
> Affects Versions: 13.35.0
> Environment: Asterisk 13.35.0
> Reporter: Misha Vodsedalek
> Labels: patch
> Attachments: 29042.patch
>
>
> A change introduced in Asterisk 13.35.0 eliminated a line that was copying parker_uuid into the subscription data structure. Without the parker_uuid, the feature does not work correctly.
> The specific change that introduced the problem:
> @@ -189,8 +193,7 @@
> subscription_data->hangup_after = hangup_after;
> subscription_data->parkee_uuid = subscription_data->parker_uuid + parker_uuid_size;
> removed> strcpy(subscription_data->parkee_uuid, parkee_uuid);
> removed> strcpy(subscription_data->parker_uuid, parker_uuid);
> added> ast_copy_string(subscription_data->parkee_uuid, parkee_uuid, parkee_uuid_size);
> if (!(parked_datastore->parked_subscription = stasis_subscribe_pool(ast_parking_topic(), parker_update_cb, subscription_data))) {
> return -1;
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list