]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Previously missing line, now the substitution works correctly
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 10 Dec 2008 23:01:14 +0000 (23:01 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 10 Dec 2008 23:01:14 +0000 (23:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@162930 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/pbx.c

index 5fe9311f4bcdf8a21d5f6d2a1bf269d9c57d00f2..37ab4db7e91b06a88b48a43ce63e2b127ddbe37a 100644 (file)
@@ -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);