aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-07 16:40:15 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-07 16:40:15 +0000
commit4eec1a091b1a49bb2957e4a2a21e05d2e4188b86 (patch)
treee2ef4a0a0e27bf72389ae625b5e609a5ca72eef8 /apps
parentf944addb40a6ee76baef5cd0d4bd5390f44c0bc2 (diff)
Set the variable even if the caller disconnects (issue #7896 reported by jsmith)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_read.c b/apps/app_read.c
index dfa122d53..4c76ccb86 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");
}