summaryrefslogtreecommitdiff
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-05-19 01:09:46 +0000
committerRussell Bryant <russell@russellbryant.com>2005-05-19 01:09:46 +0000
commit9d0a1ce4a85734f501a58fee9396c9816ae5f5aa (patch)
treeb5b8616e1578cc6683509ad8dfec68c54e4d8d58 /apps/app_meetme.c
parent9272e1f68a84cd47b2b8b5a481c0a3e8e8534c4b (diff)
fix moh option in conjunction with intro option (bug #4298)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-rwxr-xr-xapps/app_meetme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 2e8d3d0e1..afd39f279 100755
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -640,7 +640,6 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
ast_waitstream(chan, "");
goto outrun;
}
- conf->users++;
if (confflags & CONFFLAG_MARKEDUSER)
conf->markedusers++;
@@ -687,6 +686,8 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
ast_record_review(chan,"vm-rec-name",user->namerecloc, 10,"sln", &duration, NULL);
}
+ conf->users++;
+
if (!(confflags & CONFFLAG_QUIET)) {
if (conf->users == 1 && !(confflags & CONFFLAG_WAITMARKED))
if (!ast_streamfile(chan, "conf-onlyperson", chan->language))