]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Rename musiconhold option for consistency (bug #3163)
authorMark Spencer <markster@digium.com>
Mon, 3 Jan 2005 01:37:44 +0000 (01:37 +0000)
committerMark Spencer <markster@digium.com>
Mon, 3 Jan 2005 01:37:44 +0000 (01:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c
configs/queues.conf.sample

index 2fea907e9cdc942a5b16ce46a1918a3db7fe0f02..808a9fd09d306bcf55868feed148fbe7dfc8d396 100755 (executable)
@@ -2203,7 +2203,7 @@ static void reload_queues(void)
                                                                q->members = 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);
                                        } else if (!strcasecmp(var->name, "announce")) {
                                                strncpy(q->announce, var->value, sizeof(q->announce) - 1);
index f6975b6e9aef4962972e969e6cfc239549a2ad19..254e1b69244a14081adff1737c9c1474acc92bec 100755 (executable)
@@ -23,10 +23,10 @@ persistentmembers = yes
 ;
 ; A sample call queue
 ;
-; Music sets which musiconhold applies for this particular
-; call queue
+; Musiconhold sets which music applies for this particular
+; call queue (configure classes in musiconhold.conf)
 ;
-;music = default
+;musiconhold = default
 ;
 ; 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