aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/app_speech_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index 702e9348f..c43fc03e3 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -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;