[svn-commits] rmudgett: branch rmudgett/bridge_phase r393065 - /team/rmudgett/bridge_phase/...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 27 15:59:00 CDT 2013


Author: rmudgett
Date: Thu Jun 27 15:58:59 2013
New Revision: 393065

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393065
Log:
Fix interval hooks not being removed on pull.  Add debug DTMF features.

Modified:
    team/rmudgett/bridge_phase/apps/app_agent_pool.c

Modified: team/rmudgett/bridge_phase/apps/app_agent_pool.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/bridge_phase/apps/app_agent_pool.c?view=diff&rev=393065&r1=393064&r2=393065
==============================================================================
--- team/rmudgett/bridge_phase/apps/app_agent_pool.c (original)
+++ team/rmudgett/bridge_phase/apps/app_agent_pool.c Thu Jun 27 15:58:59 2013
@@ -1190,6 +1190,7 @@
 static void bridge_agent_hold_pull(struct ast_bridge *self, struct ast_bridge_channel *bridge_channel)
 {
 	ast_channel_remove_bridge_role(bridge_channel->chan, "holding_participant");
+	ast_bridge_base_v_table.pull(self, bridge_channel);
 }
 
 /*!
@@ -1885,6 +1886,15 @@
 		ast_getformatname(ast_channel_writeformat(chan)));
 	send_agent_login(chan, agent->username);
 
+/* BUGBUG Debug force setting of dtmf features datastore options until CHANNEL(dtmf-featurs) is available. */
+	{
+		struct ast_flags flags = { AST_FEATURE_DTMF_MASK };
+
+		ast_channel_lock(chan);
+		ast_bridge_features_ds_set(chan, &flags);
+		ast_channel_unlock(chan);
+	}
+
 	agent_run(agent);
 	return -1;
 }




More information about the svn-commits mailing list