diff options
-rw-r--r-- | apps/app_meetme.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 5fed964d8..a13844e9a 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -2322,6 +2322,20 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c } } else if (f->frametype == AST_FRAME_NULL) { /* Ignore NULL frames. It is perfectly normal to get these if the person is muted. */ + } else if (f->frametype == AST_FRAME_CONTROL) { + switch (f->subclass) { + case AST_CONTROL_BUSY: + case AST_CONTROL_CONGESTION: + ast_frfree(f); + goto outrun; + break; + default: + if (option_debug) { + ast_log(LOG_DEBUG, + "Got ignored control frame on channel %s, f->frametype=%d,f->subclass=%d\n", + chan->name, f->frametype, f->subclass); + } + } } else if (option_debug) { ast_log(LOG_DEBUG, "Got unrecognized frame on channel %s, f->frametype=%d,f->subclass=%d\n", |