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
This commit is contained in:
Paul Belanger
2011-11-22 16:41:58 +00:00
parent 32d0faac9c
commit 51ce2669af

View 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")) { if (!strcasecmp(sound_name, "sound_only_person")) {
ast_string_field_set(sounds, onlyperson, sound_file); 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")) { } else if (!strcasecmp(sound_name, "sound_has_joined")) {
ast_string_field_set(sounds, hasjoin, sound_file); ast_string_field_set(sounds, hasjoin, sound_file);
} else if (!strcasecmp(sound_name, "sound_has_left")) { } else if (!strcasecmp(sound_name, "sound_has_left")) {