summaryrefslogtreecommitdiff
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r--apps/app_meetme.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 59bde4012..593ce5b43 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -2892,6 +2892,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, struc
ast_channel_setoption(chan, AST_OPTION_TONE_VERIFY, &x, sizeof(char), 0);
}
} else {
+ int lastusers = conf->users;
if (user->dahdichannel && ast_test_flag64(confflags, CONFFLAG_STARMENU)) {
/* Set CONFMUTE mode on DAHDI channel to mute DTMF tones when the menu is enabled */
x = 1;
@@ -3171,7 +3172,15 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, struc
}
break;
}
-
+
+ /* Throw a TestEvent if a user exit did not cause this user to leave the conference */
+ if (conf->users != lastusers) {
+ if (conf->users < lastusers) {
+ ast_test_suite_event_notify("NOEXIT", "Message: CONFFLAG_MARKEDEXIT\r\nLastUsers: %d\r\nUsers: %d", lastusers, conf->users);
+ }
+ lastusers = conf->users;
+ }
+
/* Check if my modes have changed */
/* If I should be muted but am still talker, mute me */