From c42344b31902f91ea92d6d8099b6de64e576abe7 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Wed, 3 Jun 2009 20:30:10 +0000 Subject: 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 --- main/channel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main/channel.c') 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); -- cgit v1.2.3