[asterisk-commits] file: branch 1.4 r69144 -
/branches/1.4/apps/app_meetme.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Jun 13 12:08:25 MST 2007
Author: file
Date: Wed Jun 13 14:08:24 2007
New Revision: 69144
URL: http://svn.digium.com/view/asterisk?view=rev&rev=69144
Log:
Really ignore NULL frames and check whether the channel hungup or not. (issue #9912 reported by junky)
Modified:
branches/1.4/apps/app_meetme.c
Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=69144&r1=69143&r2=69144
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Wed Jun 13 14:08:24 2007
@@ -2121,12 +2121,16 @@
default:
break;
}
+ } else if (f->frametype == AST_FRAME_NULL) {
+ /* Ignore NULL frames. It is perfectly normal to get these if the person is muted. */
} else if (option_debug) {
ast_log(LOG_DEBUG,
"Got unrecognized frame on channel %s, f->frametype=%d,f->subclass=%d\n",
chan->name, f->frametype, f->subclass);
}
ast_frfree(f);
+ if (ast_check_hangup(chan))
+ break;
} else if (outfd > -1) {
res = read(outfd, buf, CONF_SIZE);
if (res > 0) {
More information about the asterisk-commits
mailing list