[Asterisk-cvs] asterisk channel.c,1.46,1.47

markster at lists.digium.com markster at lists.digium.com
Wed Sep 24 14:42:04 CDT 2003


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16608

Modified Files:
	channel.c 
Log Message:
Unlock channel


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- channel.c	22 Sep 2003 15:27:09 -0000	1.46
+++ channel.c	24 Sep 2003 19:43:14 -0000	1.47
@@ -1363,7 +1363,11 @@
 		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)




More information about the svn-commits mailing list