diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index 670efa2bf7..18fa7821bb 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);