[Asterisk-cvs] asterisk/apps app_festival.c,1.17,1.18

markster at lists.digium.com markster at lists.digium.com
Thu Apr 15 22:48:45 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv3954/apps

Modified Files:
	app_festival.c 
Log Message:
Answer if it needs it...


Index: app_festival.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_festival.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- app_festival.c	6 Apr 2004 22:17:31 -0000	1.17
+++ app_festival.c	16 Apr 2004 02:51:47 -0000	1.18
@@ -155,6 +155,9 @@
         	return -1;
         }
 	                                                
+	/* Answer if it's not already going */
+	if (chan->_state != AST_STATE_UP)
+		ast_answer(chan);
 	ast_stopstream(chan);
 
 	owriteformat = chan->writeformat;




More information about the svn-commits mailing list