Fix double transfer bug
authorMark Spencer <markster@digium.com>
Fri, 11 Apr 2003 01:59:15 +0000 (01:59 +0000)
committerMark Spencer <markster@digium.com>
Fri, 11 Apr 2003 01:59:15 +0000 (01:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@814 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index fbfc0eb..b7a9573 100755 (executable)
@@ -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--;