Fix double transfer bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
39094852db
commit
15b1b0b0f1
|
@ -1635,7 +1635,6 @@ static int zt_hangup(struct ast_channel *ast)
|
|||
p->callwaitingrepeat = 0;
|
||||
p->cidcwexpire = 0;
|
||||
ast->pvt->pvt = NULL;
|
||||
ast_setstate(ast, AST_STATE_DOWN);
|
||||
ast_pthread_mutex_unlock(&p->lock);
|
||||
ast_pthread_mutex_lock(&usecnt_lock);
|
||||
usecnt--;
|
||||
|
|
Loading…
Reference in New Issue