(issue ASTERISK-18836)
........
Merged revisions 348401 from http://svn.asterisk.org/svn/asterisk/branches/1.8
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@348405
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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);