diff options
author | Mark Spencer <markster@digium.com> | 2003-09-24 19:43:14 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-09-24 19:43:14 +0000 |
commit | cfe24ba7e9e111d270274c1d6f7b260554e0cfde (patch) | |
tree | 3d8fb5b6cebc270ec9c1669bccb58746d9f00ed8 /channel.c | |
parent | b54c5c7561e6a74b828cbf91dfb5131a5444623e (diff) |
Unlock channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1363,7 +1363,11 @@ int ast_write(struct ast_channel *chan, struct ast_frame *fr) ast_log(LOG_WARNING, "Don't know how to handle control frames yet\n"); break; case AST_FRAME_DTMF: + chan->blocking = 0; + ast_mutex_unlock(&chan->lock); res = do_senddigit(chan,fr->subclass); + ast_mutex_lock(&chan->lock); + CHECK_BLOCKING(chan); break; case AST_FRAME_TEXT: if (chan->pvt->send_text) |