diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-19 16:39:28 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-19 16:39:28 +0000 |
commit | 2c4669c373d15873e26b8436877ebc6a3f596d6c (patch) | |
tree | 5ab86ccf6e62a4c6beb59cb8ccd751bd163d8910 /apps | |
parent | d77607e3d26579ad3f34ac16fd4a99e88a6e7420 (diff) |
Merged revisions 177384 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r177384 | file | 2009-02-19 12:38:41 -0400 (Thu, 19 Feb 2009) | 10 lines
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@177385 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 6ba68c3b4..b889c379b 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -363,6 +363,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); |