Skip to content
Snippets Groups Projects
Commit cfe24ba7 authored by Mark Spencer's avatar Mark Spencer
Browse files

Unlock channel

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b54c5c75
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment