summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2009-02-19 16:38:41 +0000
committerJoshua Colp <jcolp@digium.com>2009-02-19 16:38:41 +0000
commit2e2494591ec3b5ea2ddd17ad039cc3f444be537a (patch)
treec2229a374c0cfc6499dc04a8334e3c35e0c09ae1
parent90a637487171dd3373c4cd1aa539ac7546b388e8 (diff)
Merged revisions 177383 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r177383 | file | 2009-02-19 12:37:25 -0400 (Thu, 19 Feb 2009) | 3 lines If we are able to create a speech structure unset the ERROR variable in case it was previously set. (issue #LUMENVOX-13) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--apps/app_speech_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index 670efa2bf..18fa7821b 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -500,6 +500,7 @@ static int speech_create(struct ast_channel *chan, void *data)
pbx_builtin_setvar_helper(chan, "ERROR", "1");
return 0;
}
+ pbx_builtin_setvar_helper(chan, "ERROR", NULL);
datastore->data = speech;
ast_channel_datastore_add(chan, datastore);