Merged revisions 147518 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
r147518 | file | 2008-10-08 09:53:51 -0500 (Wed, 08 Oct 2008) | 9 lines

Merged revisions 147517 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r147517 | file | 2008-10-08 11:51:42 -0300 (Wed, 08 Oct 2008) | 2 lines
  
  If we receive DTMF make sure that the state of the speech structure goes back to being not ready. (issue #LUMENVOX-8)
........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2008-10-08 15:10:08 +00:00
parent c31a6b5d92
commit cade4d842b

View File

@@ -743,6 +743,7 @@ static int speech_background(struct ast_channel *chan, void *data)
speech->results->text = ast_strdup(dtmf);
speech->results->grammar = ast_strdup("dtmf");
}
ast_speech_change_state(speech, AST_SPEECH_STATE_NOT_READY);
}
/* See if it was because they hung up */