[asterisk-commits] branch 1.2 - r8140 /branches/1.2/apps/app_festival.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jan 17 13:10:30 MST 2006


Author: mogorman
Date: Tue Jan 17 14:10:29 2006
New Revision: 8140

URL: http://svn.digium.com/view/asterisk?rev=8140&view=rev
Log:
Stop any generators running on a channel when
festival is called as described in 5996

Modified:
    branches/1.2/apps/app_festival.c

Modified: branches/1.2/apps/app_festival.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_festival.c?rev=8140&r1=8139&r2=8140&view=diff
==============================================================================
--- branches/1.2/apps/app_festival.c (original)
+++ branches/1.2/apps/app_festival.c Tue Jan 17 14:10:29 2006
@@ -175,7 +175,8 @@
 	if (chan->_state != AST_STATE_UP)
 		ast_answer(chan);
 	ast_stopstream(chan);
-
+	ast_indicate(chan, -1);
+	
 	owriteformat = chan->writeformat;
 	res = ast_set_write_format(chan, AST_FORMAT_SLINEAR);
 	if (res < 0) {



More information about the asterisk-commits mailing list