From: Tilghman Lesher Date: Wed, 10 Dec 2008 23:01:14 +0000 (+0000) Subject: Previously missing line, now the substitution works correctly X-Git-Tag: 1.6.2.0-beta1~661 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c89090160fccbd265d53dde919a63255ad9dcbe;p=thirdparty%2Fasterisk.git Previously missing line, now the substitution works correctly git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@162930 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/pbx.c b/main/pbx.c index 5fe9311f4b..37ab4db7e9 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);