]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add missing sound_only_one config variable
authorPaul Belanger <paul.belanger@polybeacon.com>
Tue, 22 Nov 2011 16:40:57 +0000 (16:40 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Tue, 22 Nov 2011 16:40:57 +0000 (16:40 +0000)
(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

apps/confbridge/conf_config_parser.c

index d11b8258257e8894c22e7942994c2859187ca3da..73c9d69a58dae667d1a028c62fb7326a52755b29 100644 (file)
@@ -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")) {