]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
If we are able to create a speech structure unset the ERROR variable in case it was...
authorJoshua Colp <jcolp@digium.com>
Thu, 19 Feb 2009 16:37:25 +0000 (16:37 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 19 Feb 2009 16:37:25 +0000 (16:37 +0000)
(issue #LUMENVOX-13)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@177383 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_speech_utils.c

index 702e9348fffa916319fbf48faa55d67a46c30cbe..c43fc03e3b10cd31bb7a8216996c5899559266c1 100644 (file)
@@ -378,6 +378,8 @@ static int speech_create(struct ast_channel *chan, void *data)
        datastore->data = speech;
        ast_channel_datastore_add(chan, datastore);
 
+       pbx_builtin_setvar_helper(chan, "ERROR", NULL);
+
        ast_module_user_remove(u);
 
        return 0;