mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Fix cut and past error in ast_call_forward().
(issue ASTERISK-18836) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@348401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5244,7 +5244,7 @@ struct ast_channel *ast_call_forward(struct ast_channel *caller, struct ast_chan
|
||||
if (oh->account) {
|
||||
ast_channel_lock(new);
|
||||
ast_cdr_setaccount(new, oh->account);
|
||||
ast_channel_lock(new);
|
||||
ast_channel_unlock(new);
|
||||
}
|
||||
} else if (caller) { /* no outgoing helper so use caller if avaliable */
|
||||
ast_channel_update_redirecting(caller, apr, NULL);
|
||||
|
||||
Reference in New Issue
Block a user