diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-10 23:01:14 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-10 23:01:14 +0000 |
commit | ba3e39dcd4cec13b21dd9707e498eda1a01f2c61 (patch) | |
tree | e491fc33e818b7c96bbdf9be6b692c16cfc14c0d /main/pbx.c | |
parent | db1bbc8a351d3b4f07c6f7cebba74aede9fdb5c3 (diff) |
Previously missing line, now the substitution works correctly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@162930 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c index 5fe9311f4..37ab4db7e 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -7467,6 +7467,7 @@ int ast_add_extension2(struct ast_context *con, ast_copy_string(c.exten, extension, sizeof(c.exten)); ast_copy_string(c.context, con->name, sizeof(c.context)); pbx_substitute_variables_helper(&c, application, expand_buf, sizeof(expand_buf)); + application = expand_buf; } length = sizeof(struct ast_exten); |