Merge "astobj2: Create function to copy weak proxied objects from container."
[asterisk/asterisk.git] / apps / app_channelredirect.c
index 8fe543d..4f3b791 100644 (file)
@@ -29,8 +29,6 @@
 
 #include "asterisk.h"
 
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
 #include "asterisk/file.h"
 #include "asterisk/channel.h"
 #include "asterisk/pbx.h"
@@ -96,10 +94,6 @@ static int asyncgoto_exec(struct ast_channel *chan, const char *data)
                return 0;
        }
 
-       if (chan2->pbx) {
-               ast_set_flag(chan2, AST_FLAG_BRIDGE_HANGUP_DONT); /* don't let the after-bridge code run the h-exten */
-       }
-
        res = ast_async_parseable_goto(chan2, args.label);
 
        chan2 = ast_channel_unref(chan2);