mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@177383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user