From: Joshua Colp Date: Thu, 7 Sep 2006 16:40:15 +0000 (+0000) Subject: Set the variable even if the caller disconnects (issue #7896 reported by jsmith) X-Git-Tag: 1.4.0-beta1~161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc5dd436350e3b3f002119cf48ada7199625b1ed;p=thirdparty%2Fasterisk.git Set the variable even if the caller disconnects (issue #7896 reported by jsmith) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42262 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_read.c b/apps/app_read.c index dfa122d538..4c76ccb867 100644 --- a/apps/app_read.c +++ b/apps/app_read.c @@ -207,6 +207,7 @@ static int read_exec(struct ast_channel *chan, void *data) } res = 0; } else { + pbx_builtin_setvar_helper(chan, arglist.variable, tmp); if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "User disconnected\n"); }