clean up wrong merged stuff
authorStefan Schmidt <sst@sil.at>
Wed, 7 Sep 2011 14:47:03 +0000 (14:47 +0000)
committerStefan Schmidt <sst@sil.at>
Wed, 7 Sep 2011 14:47:03 +0000 (14:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@334744 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index a683ffe..7afd71b 100644 (file)
@@ -7063,12 +7063,6 @@ int ast_do_pickup(struct ast_channel *chan, struct ast_channel *target)
                ast_log(LOG_WARNING, "Unable to queue answer on '%s'\n", chan_name);
                goto pickup_failed;
        }
-       
-       /* setting this flag to generate a reason header in the cancel message to the ringing channel */
-       ast_set_flag(chan, AST_FLAG_ANSWERED_ELSEWHERE);
-
-       /* setting this flag to generate a reason header in the cancel message to the ringing channel */
-       ast_set_flag(chan, AST_FLAG_ANSWERED_ELSEWHERE);
 
        if (ast_channel_masquerade(target, chan)) {
                ast_log(LOG_WARNING, "Unable to masquerade '%s' into '%s'\n", chan_name,