diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-08 14:51:42 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-08 14:51:42 +0000 |
commit | f7e0834153a6274d69dec1ed739a79c8e1bb0c8f (patch) | |
tree | a39997999419750e455058e9a5b3c4e02b0457d5 /apps/app_speech_utils.c | |
parent | 010debfb0939ec9a2d71b97a922da8d85c7662ad (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@147517 f38db490-d61c-443f-a65b-d21fe96a405b
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 6e498f29f..702e9348f 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -774,6 +774,7 @@ static int speech_background(struct ast_channel *chan, void *data) 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 */ |