[Asterisk-cvs] asterisk/apps app_queue.c,1.87.2.1,1.87.2.2

russell at lists.digium.com russell at lists.digium.com
Tue Jan 4 23:31:59 CST 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv15489/apps

Modified Files:
      Tag: v1-0
	app_queue.c 
Log Message:
change option to be consistent (old option still works, too) (bug #3163)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.87.2.1
retrieving revision 1.87.2.2
diff -u -d -r1.87.2.1 -r1.87.2.2
--- app_queue.c	25 Nov 2004 07:13:08 -0000	1.87.2.1
+++ app_queue.c	5 Jan 2005 05:37:01 -0000	1.87.2.2
@@ -1831,7 +1831,7 @@
 								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);




More information about the svn-commits mailing list