mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
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:
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user