diff --git a/main/features.c b/main/features.c index 9af0a86533..a683ffe9e5 100644 --- a/main/features.c +++ b/main/features.c @@ -7067,6 +7067,9 @@ int ast_do_pickup(struct ast_channel *chan, struct ast_channel *target) /* 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, target_name);