]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
change option to be consistent (old option still works, too) (bug #3163)
authorRussell Bryant <russell@russellbryant.com>
Wed, 5 Jan 2005 05:37:01 +0000 (05:37 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 5 Jan 2005 05:37:01 +0000 (05:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4669 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

index 8ee8d6489d898195627c223591d6696197fed277..f48bd963d171f479da0bc69281f5eebaefcc7792 100755 (executable)
@@ -1831,7 +1831,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 e6e54453133adbba73bf6d754f35f67b607faa3e..3a682d1e1d60223523068b8a70df63cd6ad02ae1 100755 (executable)
 ;
 ; 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