From: Paul Belanger Date: Tue, 22 Nov 2011 16:40:57 +0000 (+0000) Subject: Add missing sound_only_one config variable X-Git-Tag: 10.1.0-rc1~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a10a20be81ff71b1b87c48ee7ef6d4f33cc022;p=thirdparty%2Fasterisk.git Add missing sound_only_one config variable (closes issue ASTERISK-18895) Reported by: zvision Patches: conf_config_parser.diff (license #5755) patch uploaded by zvision git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@345882 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/confbridge/conf_config_parser.c b/apps/confbridge/conf_config_parser.c index d11b825825..73c9d69a58 100644 --- a/apps/confbridge/conf_config_parser.c +++ b/apps/confbridge/conf_config_parser.c @@ -219,6 +219,8 @@ static int set_sound(const char *sound_name, const char *sound_file, struct brid if (!strcasecmp(sound_name, "sound_only_person")) { ast_string_field_set(sounds, onlyperson, sound_file); + } else if (!strcasecmp(sound_name, "sound_only_one")) { + ast_string_field_set(sounds, onlyone, sound_file); } else if (!strcasecmp(sound_name, "sound_has_joined")) { ast_string_field_set(sounds, hasjoin, sound_file); } else if (!strcasecmp(sound_name, "sound_has_left")) {