aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-03 01:37:44 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-03 01:37:44 +0000
commitbe7c21bde0bc530a307bee9d84cef9eb99dd71e6 (patch)
tree9d2fc08c3e934c1695d060cc3cbad36dde4ae12c /apps
parent097452261361b99140829e66fa35f70d52fb2055 (diff)
Rename musiconhold option for consistency (bug #3163)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4639 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 2fea907e9..808a9fd09 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -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);