[asterisk-commits] file: trunk r59214 - in /trunk: ./ apps/app_speech_utils.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 26 11:14:33 MST 2007


Author: file
Date: Mon Mar 26 13:14:33 2007
New Revision: 59214

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59214
Log:
Merged revisions 59213 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59213 | file | 2007-03-26 14:13:06 -0400 (Mon, 26 Mar 2007) | 2 lines

Make SpeechBackground obey the digit timeout value.

........

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=59214&r1=59213&r2=59214
==============================================================================
--- trunk/apps/app_speech_utils.c (original)
+++ trunk/apps/app_speech_utils.c Mon Mar 26 13:14:33 2007
@@ -669,7 +669,7 @@
 					if (chan->stream != NULL) {
 						ast_stopstream(chan);
 						/* Change timeout to be 5 seconds for DTMF input */
-						timeout = 5;
+						timeout = (chan->pbx && chan->pbx->dtimeout) ? chan->pbx->dtimeout : 5;
 						time(&start);
 						started = 1;
 					}



More information about the asterisk-commits mailing list