From 6f7888321497d4d3a42988c938b093bc7a2b8460 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Fri, 14 Jun 2013 16:08:55 +0000 Subject: [PATCH] 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 --- main/bridging.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/bridging.c b/main/bridging.c index 24f8d96d2c..7300504734 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); } /*!