diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-09 01:51:46 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-09 01:51:46 +0000 |
commit | ec5c12e2d63d2958a860a0f8d352da289d99b18b (patch) | |
tree | 5d92a28826a17a78944b2072d302389d2bf5b78b | |
parent | fd40f80b8c0b214dbfa89955bb58b053101aa131 (diff) |
issue #5664
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7039 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | pbx.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2005-11-08 Kevin P. Fleming <kpfleming@digium.com> + * pbx.c (pbx_substitute_variables_helper_full): use already-substituted buffer for parsing variable name (issue #5664) + * channels/chan_zap.c (zt_request): return AST_CAUSE_CONGESTION when a group-channel is requested and the group exists but all channels are busy (issue #3360, related fix) * channels/chan_iax2.c (create_addr): treat UNREACHABLE as AST_CAUSE_UNREGISTERED so that it will generate CHANUNAVAIL from app_dial (issue #3360) @@ -1520,7 +1520,7 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v workspace[0] = '\0'; - parse_variable_name(var, &offset, &offset2, &isfunction); + parse_variable_name(vars, &offset, &offset2, &isfunction); if (isfunction) { /* Evaluate function */ cp4 = ast_func_read(c, vars, workspace, VAR_BUF_SIZE); |