diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index 1b8348a047..cddaaeea93 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -376,6 +376,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);