[asterisk-commits] jpeeler: branch 1.6.0 r237324 - in /branches/1.6.0: ./ res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 4 10:26:28 CST 2010


Author: jpeeler
Date: Mon Jan  4 10:26:26 2010
New Revision: 237324

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237324
Log:
Merged revisions 237323 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237323 | jpeeler | 2010-01-04 10:24:51 -0600 (Mon, 04 Jan 2010) | 5 lines
  
  Fix timeout for AGI command speech recognize.
  
  (closes issue #16297)
  Reported by: semond
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/res/res_agi.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/res/res_agi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/res/res_agi.c?view=diff&rev=237324&r1=237323&r2=237324
==============================================================================
--- branches/1.6.0/res/res_agi.c (original)
+++ branches/1.6.0/res/res_agi.c Mon Jan  4 10:26:26 2010
@@ -1978,7 +1978,7 @@
 		switch (speech->state) {
 		case AST_SPEECH_STATE_READY:
 			/* If the stream is done, start timeout calculation */
-			if ((timeout > 0) && ((!chan->stream) || (chan->streamid == -1 && chan->timingfunc == NULL))) {
+			if ((timeout > 0) && start == 0 && ((!chan->stream) || (chan->streamid == -1 && chan->timingfunc == NULL))) {
 				ast_stopstream(chan);
 				time(&start);
 			}




More information about the asterisk-commits mailing list