[svn-commits] file: branch 1.4 r59213 - /branches/1.4/apps/app_speech_utils.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Mar 26 11:13:07 MST 2007


Author: file
Date: Mon Mar 26 13:13:06 2007
New Revision: 59213

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59213
Log:
Make SpeechBackground obey the digit timeout value.

Modified:
    branches/1.4/apps/app_speech_utils.c

Modified: branches/1.4/apps/app_speech_utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_speech_utils.c?view=diff&rev=59213&r1=59212&r2=59213
==============================================================================
--- branches/1.4/apps/app_speech_utils.c (original)
+++ branches/1.4/apps/app_speech_utils.c Mon Mar 26 13:13:06 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 svn-commits mailing list