[asterisk-commits] file: branch 1.4 r177383 - /branches/1.4/apps/app_speech_utils.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Feb 19 10:37:25 CST 2009
Author: file
Date: Thu Feb 19 10:37:25 2009
New Revision: 177383
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=177383
Log:
If we are able to create a speech structure unset the ERROR variable in case it was previously set.
(issue #LUMENVOX-8)
Modified:
branches/1.4/apps/app_speech_utils.c
Modified: branches/1.4/apps/app_speech_utils.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_speech_utils.c?view=diff&rev=177383&r1=177382&r2=177383
==============================================================================
--- branches/1.4/apps/app_speech_utils.c (original)
+++ branches/1.4/apps/app_speech_utils.c Thu Feb 19 10:37:25 2009
@@ -377,6 +377,8 @@
}
datastore->data = speech;
ast_channel_datastore_add(chan, datastore);
+
+ pbx_builtin_setvar_helper(chan, "ERROR", NULL);
ast_module_user_remove(u);
More information about the asterisk-commits
mailing list