diff options
author | Richard Mudgett <rmudgett@digium.com> | 2011-12-16 21:30:35 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2011-12-16 21:30:35 +0000 |
commit | e71bad495894ec9dc8d041b9b4bbca75d35cf1a3 (patch) | |
tree | cc2bf7dbbd72f614227a767433b0982c2f5fbd48 /main | |
parent | b05d4603c4506bae4a065409937fa7567df9bc9f (diff) |
Fix cut and past error in ast_call_forward().
(issue ASTERISK-18836)
........
Merged revisions 348401 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 348405 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index 57788b5bd..54a102d22 100644 --- a/main/channel.c +++ b/main/channel.c @@ -5437,7 +5437,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); |