aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchannel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index dd2b81429..c282d9e76 100755
--- 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: