res_stasis/resource_bridges: Split bridge playback control and wrapper cleanup#1876
Merged
github-actions[bot] merged 1 commit intoasterisk:masterfrom May 7, 2026
Merged
Conversation
…r cleanup Modified the bridge playback teardown so the worker thread removes only the playback control, while the after-bridge callback removes the playback wrapper once the announcer has actually left the bridge. This avoids a stale window where a new playback request could create a replacement announcer before the old announcer had fully exited the holding bridge. Also replaced the flexible trailing bridge_id storage in the shared worker thread data with an optional bridge_id pointer, since recording paths use the same structure without a bridge id. Fixes: asterisk#1861
Contributor
Author
|
cherry-pick-to: 23 |
|
Workflow Check completed successfully |
jcolp
approved these changes
May 6, 2026
|
Reviewed both CPCheck artifacts. The 20-ari1 failure is a SIPp referee.xml abort in an attended-transfer test, while the direct bridge playback tests that more closely relate to my commit still pass. The 22-pjs5 failure is an RLS/MWI validation failure, which is in a different subsystem from this ARI/stasis bridge playback change. |
Member
|
Yeah, the transfer and mwi tests are timing sensitive and can have issues if GitHub's runners are slow. |
|
Successfully merged to branch master and cherry-picked to ["23","22","20"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Modified the bridge playback teardown so the worker thread removes only the
playback control, while the after-bridge callback removes the playback
wrapper once the announcer has actually left the bridge.
This avoids a stale window where a new playback request could create a
replacement announcer before the old announcer had fully exited the holding
bridge.
Also replaced the flexible trailing bridge_id storage in the shared worker
thread data with an optional bridge_id pointer, since recording paths use the
same structure without a bridge id.
Fixes: #1861