[svn-commits] file: branch 1.2 r48161 - /branches/1.2/channel.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Nov 30 13:27:29 MST 2006


Author: file
Date: Thu Nov 30 14:27:29 2006
New Revision: 48161

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48161
Log:
Don't write AST_FRAME_NULL or AST_FRAME_IAX frames out to the channel driver. (issue #8390 reported by hselasky)

Modified:
    branches/1.2/channel.c

Modified: branches/1.2/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channel.c?view=diff&rev=48161&r1=48160&r2=48161
==============================================================================
--- branches/1.2/channel.c (original)
+++ branches/1.2/channel.c Thu Nov 30 14:27:29 2006
@@ -2295,6 +2295,11 @@
 			res = chan->tech->write_video(chan, fr);
 		else
 			res = 0;
+		break;
+	case AST_FRAME_NULL:
+	case AST_FRAME_IAX:
+		/* Ignore these */
+		res = 0;
 		break;
 	default:
 		if (chan->tech->write) {



More information about the svn-commits mailing list