mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user