[asterisk-commits] file: trunk r51252 - in /trunk: ./
	apps/app_speech_utils.c
    asterisk-commits at lists.digium.com 
    asterisk-commits at lists.digium.com
       
    Thu Jan 18 12:19:25 MST 2007
    
    
  
Author: file
Date: Thu Jan 18 13:19:24 2007
New Revision: 51252
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51252
Log:
Merged revisions 51251 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51251 | file | 2007-01-18 14:17:34 -0500 (Thu, 18 Jan 2007) | 2 lines
Only start timeout once we reach the end of the files to play back.
........
Modified:
    trunk/   (props changed)
    trunk/apps/app_speech_utils.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_speech_utils.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_speech_utils.c?view=diff&rev=51252&r1=51251&r2=51252
==============================================================================
--- trunk/apps/app_speech_utils.c (original)
+++ trunk/apps/app_speech_utils.c Thu Jan 18 13:19:24 2007
@@ -609,7 +609,7 @@
                         /* If audio playback has stopped do a check for timeout purposes */
                         if (chan->streamid == -1 && chan->timingfunc == NULL)
                                 ast_stopstream(chan);
-                        if (chan->stream == NULL && timeout > 0 && started == 0) {
+                        if (chan->stream == NULL && timeout > 0 && started == 0 && !filename_tmp) {
 				time(&start);
 				started = 1;
                         }
    
    
More information about the asterisk-commits
mailing list