dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@177384 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2009-02-19 16:38:41 +00:00
parent 375af5f7be
commit d7dab67f63
1 changed files with 1 additions and 0 deletions

View File

@ -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);