summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-12-10 23:01:14 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-12-10 23:01:14 +0000
commit8c89090160fccbd265d53dde919a63255ad9dcbe (patch)
treee491fc33e818b7c96bbdf9be6b692c16cfc14c0d /main
parentf0883cacca7e2127ec2908366085cd144731502b (diff)
Previously missing line, now the substitution works correctly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@162930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/pbx.c1
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);