diff options
author | David Vossel <dvossel@digium.com> | 2009-06-03 20:30:10 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2009-06-03 20:30:10 +0000 |
commit | c42344b31902f91ea92d6d8099b6de64e576abe7 (patch) | |
tree | 1772806c1fcb7e20afe276c4594bb05ce065bd21 /main | |
parent | 0c47c8f448c2ad12740a9f897bf0f66b7527acdb (diff) |
ast_call_forward() todo notes and originate flag copy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index 9fc89255a..3dcd380fa 100644 --- a/main/channel.c +++ b/main/channel.c @@ -4001,6 +4001,7 @@ struct ast_channel *ast_call_forward(struct ast_channel *caller, struct ast_chan while (ast_channel_trylock(new)) { CHANNEL_DEADLOCK_AVOIDANCE(orig); } + ast_copy_flags(new->cdr, orig->cdr, AST_CDR_FLAG_ORIGINATED); ast_string_field_set(new, accountcode, orig->accountcode); ast_party_caller_copy(&new->cid, &orig->cid); ast_party_connected_line_copy(&new->connected, &orig->connected); |