mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Merge "res/res_stasis: Fix accidental subscription to 'all' bridge topic"
This commit is contained in:
@@ -1294,7 +1294,9 @@ int stasis_app_exec(struct ast_channel *chan, const char *app_name, int argc,
|
|||||||
|
|
||||||
if (bridge != last_bridge) {
|
if (bridge != last_bridge) {
|
||||||
app_unsubscribe_bridge(app, last_bridge);
|
app_unsubscribe_bridge(app, last_bridge);
|
||||||
app_subscribe_bridge(app, bridge);
|
if (bridge) {
|
||||||
|
app_subscribe_bridge(app, bridge);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bridge) {
|
if (bridge) {
|
||||||
|
Reference in New Issue
Block a user