[asterisk-commits] rmudgett: branch rmudgett/bridge_phase r392305 - /team/rmudgett/bridge_phase/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 19 20:40:27 CDT 2013


Author: rmudgett
Date: Wed Jun 19 20:40:25 2013
New Revision: 392305

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392305
Log:
Be sure to add the holding_participant role.

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=392305&r1=392304&r2=392305
==============================================================================
--- team/rmudgett/bridge_phase/apps/app_agent_pool.c (original)
+++ team/rmudgett/bridge_phase/apps/app_agent_pool.c Wed Jun 19 20:40:25 2013
@@ -964,6 +964,7 @@
 	}
 
 	/* Setup agent entertainment */
+	res |= ast_channel_add_bridge_role(chan, "holding_participant");
 	res |= ast_channel_set_bridge_role_option(chan, "holding_participant", "idle_mode", "musiconhold");
 	res |= ast_channel_set_bridge_role_option(chan, "holding_participant", "moh_class", moh_class);
 




More information about the asterisk-commits mailing list