summaryrefslogtreecommitdiff
path: root/apps/app_confbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_confbridge.c')
-rw-r--r--apps/app_confbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c
index 9528bf480..775a628ba 100644
--- a/apps/app_confbridge.c
+++ b/apps/app_confbridge.c
@@ -1362,12 +1362,12 @@ static int confbridge_exec(struct ast_channel *chan, const char *data)
ast_moh_stop(chan);
}
ast_stream_and_wait(chan, join_sound, "");
- if (conference_bridge_user.playing_moh) {
- ast_moh_start(chan, conference_bridge_user.u_profile.moh_class, NULL);
- }
ast_autoservice_start(chan);
play_sound_file(conference_bridge, join_sound);
ast_autoservice_stop(chan);
+ if (conference_bridge_user.playing_moh) {
+ ast_moh_start(chan, conference_bridge_user.u_profile.moh_class, NULL);
+ }
}
/* Join our conference bridge for real */