summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2013-06-14 16:08:55 +0000
committerKinsey Moore <kmoore@digium.com>2013-06-14 16:08:55 +0000
commit6f7888321497d4d3a42988c938b093bc7a2b8460 (patch)
tree1a7b7245077e61a904022c129fb97b0e37420f0b
parent988295c6a8ccc6ccf873b11fb7bb44286ffb01b5 (diff)
Publish bridge snapshots more often
Bridge snapshot events were missing some important transitions that were noticed in subsequent snapshots. Snapshots will now be published on all bridge reconfigurations. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/bridging.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/bridging.c b/main/bridging.c
index 24f8d96d2..730050473 100644
--- a/main/bridging.c
+++ b/main/bridging.c
@@ -2083,7 +2083,7 @@ static void set_bridge_peer_vars(struct ast_bridge *bridge)
* \details
* After a series of bridge_channel_push and
* bridge_channel_pull calls, you need to call this function
- * to cause the bridge to complete restruturing for the change
+ * to cause the bridge to complete restructuring for the change
* in the channel makeup of the bridge.
*
* \note On entry, the bridge is already locked.
@@ -2109,6 +2109,7 @@ static void bridge_reconfigured(struct ast_bridge *bridge)
}
check_bridge_play_sounds(bridge);
set_bridge_peer_vars(bridge);
+ ast_bridge_publish_state(bridge);
}
/*!