diff options
author | Richard Mudgett <rmudgett@digium.com> | 2013-10-08 20:18:37 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2013-10-08 20:18:37 +0000 |
commit | f87086b3743ba5a1639e251b53c0f5e5cce31534 (patch) | |
tree | 8f98e5be4621df8a57680ffd43672e2a6ac69b1d /apps/app_confbridge.c | |
parent | 665ef4c65416ae933b3ad7732334b868a5208110 (diff) |
app_confbridge: Can now set the language used for announcements to the conference.
ConfBridge now has the ability to set the language of announcements to the
conference. The language can be set on a bridge profile in
confbridge.conf or by the dialplan function
CONFBRIDGE(bridge,language)=en.
(closes issue ASTERISK-19983)
Reported by: Jonathan White
Patches:
M19983_rev2.diff (license #5138) patch uploaded by junky (modified)
Tested by: rmudgett
........
Merged revisions 400741 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 400742 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_confbridge.c')
-rw-r--r-- | apps/app_confbridge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index 47cfa0b8b..6f1420fcd 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -1339,6 +1339,9 @@ static int alloc_playback_chan(struct confbridge_conference *conference) return -1; } + /* To make sure playback_chan has the same language of that profile */ + ast_channel_language_set(conference->playback_chan, conference->b_profile.language); + ast_debug(1, "Created announcer channel '%s' to conference bridge '%s'\n", ast_channel_name(conference->playback_chan), conference->name); return 0; |