From 51ce2669afea76859c4dd813cbc20b5aceb71f19 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 22 Nov 2011 16:41:58 +0000 Subject: [PATCH] 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 ........ Merged revisions 345882 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@345883 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/confbridge/conf_config_parser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/confbridge/conf_config_parser.c b/apps/confbridge/conf_config_parser.c index a2b52bea7f..58bb7acc19 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")) {