diff options
author | Joshua Colp <jcolp@digium.com> | 2008-10-08 14:53:51 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-10-08 14:53:51 +0000 |
commit | fddf5f914ab7edebb2bb8352a7770d6974ffaece (patch) | |
tree | 7b4ad290af77c13ccd3c14443bb0a197934c4aec /apps/app_speech_utils.c | |
parent | 5103db8ee029eabc723b93d570428827ef76b468 (diff) |
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/trunk@147518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r-- | apps/app_speech_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index c90bc8b50..1b8348a04 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -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 */ |