[asterisk-commits] file: branch 1.4 r147517 - /branches/1.4/apps/app_speech_utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 8 09:51:42 CDT 2008


Author: file
Date: Wed Oct  8 09:51:42 2008
New Revision: 147517

URL: http://svn.digium.com/view/asterisk?view=rev&rev=147517
Log:
If we receive DTMF make sure that the state of the speech structure goes back to being not ready. (issue #LUMENVOX-8)

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=147517&r1=147516&r2=147517
==============================================================================
--- branches/1.4/apps/app_speech_utils.c (original)
+++ branches/1.4/apps/app_speech_utils.c Wed Oct  8 09:51:42 2008
@@ -774,6 +774,7 @@
 			speech->results->text = strdup(dtmf);
 			speech->results->grammar = strdup("dtmf");
 		}
+		ast_speech_change_state(speech, AST_SPEECH_STATE_NOT_READY);
 	}
 
         /* See if it was because they hung up */




More information about the asterisk-commits mailing list