diff options
Diffstat (limited to 'main/features.c')
-rw-r--r-- | main/features.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/features.c b/main/features.c index 7afd71b4a..9af0a8653 100644 --- a/main/features.c +++ b/main/features.c @@ -7063,6 +7063,9 @@ 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); if (ast_channel_masquerade(target, chan)) { ast_log(LOG_WARNING, "Unable to masquerade '%s' into '%s'\n", chan_name, |