aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-14 17:05:33 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-14 17:05:33 +0000
commit8961b98d67f0197bc298eb4bba17c4c7e5273be2 (patch)
tree6ce960ac4f8ee738fae7822e18451b20e1de910e /apps/app_meetme.c
parentd228a64c00d1cf3ac60f83524db86aaf02148d35 (diff)
Fix a bug where the 'T' option to Meetme did not work.
(closes issue #15031) Reported by: Stochastic (closes issue #13801) Reported by: justdave git-svn-id: http://svn.digium.com/svn/asterisk/trunk@194434 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r--apps/app_meetme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 2f9cdb792..9b5b6d7ac 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -2484,7 +2484,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
x = 1;
ast_channel_setoption(chan, AST_OPTION_TONE_VERIFY, &x, sizeof(char), 0);
}
- if ((confflags & CONFFLAG_OPTIMIZETALKER) && !(confflags & CONFFLAG_MONITOR) && !(dsp = ast_dsp_new())) {
+ if (confflags & (CONFFLAG_OPTIMIZETALKER | CONFFLAG_MONITORTALKER) && !(dsp = ast_dsp_new())) {
ast_log(LOG_WARNING, "Unable to allocate DSP!\n");
res = -1;
}
@@ -2855,7 +2855,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
ast_frame_adjust_volume(f, user->talk.actual);
}
- if ((confflags & CONFFLAG_OPTIMIZETALKER) && !(confflags & CONFFLAG_MONITOR)) {
+ if (confflags & (CONFFLAG_OPTIMIZETALKER | CONFFLAG_MONITORTALKER)) {
int totalsilence;
if (user->talking == -1) {