diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-08 15:10:08 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-08 15:10:08 +0000 |
commit | 205ebf6f4ae4e6f3ee9c600e523008c12a997657 (patch) | |
tree | 6e6ab7a402558fdcc9fd97743dcd9a2bb86a14c0 /apps | |
parent | 86deb5396a3583da94282530be66d5c34ea5c932 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.1@147519 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 */ |