aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-24 03:04:25 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-24 03:04:25 +0000
commit832d439a78c79cef538820726bb40f4dae4147a0 (patch)
tree7e1c33b86174b1bc0cd1849f0d95af2d349b0969 /channel.c
parent56295dc88044f2e45360ebbec114017582b3a713 (diff)
oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3293 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-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: