diff options
Diffstat (limited to 'apps/app_confbridge.c')
-rw-r--r-- | apps/app_confbridge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index 8347bc6ed..a886b5876 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -1368,7 +1368,9 @@ static int alloc_playback_chan(struct confbridge_conference *conference) } /* To make sure playback_chan has the same language of that profile */ + ast_channel_lock(conference->playback_chan); ast_channel_language_set(conference->playback_chan, conference->b_profile.language); + ast_channel_unlock(conference->playback_chan); ast_debug(1, "Created announcer channel '%s' to conference bridge '%s'\n", ast_channel_name(conference->playback_chan), conference->name); |