]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Return previous behavior. ParkedCalls will be able to do DTMF based transfers again...
authorJoshua Colp <jcolp@digium.com>
Tue, 16 Jan 2007 17:36:50 +0000 (17:36 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 16 Jan 2007 17:36:50 +0000 (17:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51145 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index b1eb6f16c547ad258346be40f914ddc63fe65fd1..41d2d30c232290f46cfbe9693a83e844e63d22c6 100644 (file)
@@ -1774,6 +1774,8 @@ static int park_exec(struct ast_channel *chan, void *data)
                        ast_verbose(VERBOSE_PREFIX_3 "Channel %s connected to parked call %d\n", chan->name, park);
 
                memset(&config, 0, sizeof(struct ast_bridge_config));
+               ast_set_flag(&(config.features_callee), AST_FEATURE_REDIRECT);
+               ast_set_flag(&(config.features_caller), AST_FEATURE_REDIRECT);
                res = ast_bridge_call(chan, peer, &config);
 
                /* Simulate the PBX hanging up */