Rename musiconhold option for consistency (bug #3163)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-01-03 01:37:44 +00:00
parent 75d674dd9b
commit 4b5e3caa7d
2 changed files with 4 additions and 4 deletions

View File

@@ -2203,7 +2203,7 @@ static void reload_queues(void)
q->members = cur; q->members = cur;
prev = cur; prev = cur;
} }
} else if (!strcasecmp(var->name, "music")) { } else if (!strcasecmp(var->name, "music") || !strcasecmp(var->name, "musiconhold")) {
strncpy(q->moh, var->value, sizeof(q->moh) - 1); strncpy(q->moh, var->value, sizeof(q->moh) - 1);
} else if (!strcasecmp(var->name, "announce")) { } else if (!strcasecmp(var->name, "announce")) {
strncpy(q->announce, var->value, sizeof(q->announce) - 1); strncpy(q->announce, var->value, sizeof(q->announce) - 1);

View File

@@ -23,10 +23,10 @@ persistentmembers = yes
; ;
; A sample call queue ; A sample call queue
; ;
; Music sets which musiconhold applies for this particular ; Musiconhold sets which music applies for this particular
; call queue ; call queue (configure classes in musiconhold.conf)
; ;
;music = default ;musiconhold = default
; ;
; An announcement may be specified which is played for the member as ; An announcement may be specified which is played for the member as
; soon as they answer a call, typically to indicate to them which queue ; soon as they answer a call, typically to indicate to them which queue