mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 03:07:59 +00:00
Merged revisions 177383 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r177383 | file | 2009-02-19 12:37:25 -0400 (Thu, 19 Feb 2009) | 3 lines 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/trunk@177384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -500,6 +500,7 @@ static int speech_create(struct ast_channel *chan, void *data)
|
|||||||
pbx_builtin_setvar_helper(chan, "ERROR", "1");
|
pbx_builtin_setvar_helper(chan, "ERROR", "1");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
pbx_builtin_setvar_helper(chan, "ERROR", NULL);
|
||||||
datastore->data = speech;
|
datastore->data = speech;
|
||||||
ast_channel_datastore_add(chan, datastore);
|
ast_channel_datastore_add(chan, datastore);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user