oops
authorMark Spencer <markster@digium.com>
Thu, 24 Jun 2004 03:04:25 +0000 (03:04 +0000)
committerMark Spencer <markster@digium.com>
Thu, 24 Jun 2004 03:04:25 +0000 (03:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3293 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index dd2b814..c282d9e 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -764,6 +764,7 @@ int ast_answer(struct ast_channel *chan)
                ast_setstate(chan, AST_STATE_UP);
                if (chan->cdr)
                        ast_cdr_answer(chan->cdr);
+               ast_mutex_unlock(&chan->lock);
                return res;
                break;
        case AST_STATE_UP: