[Asterisk-cvs] asterisk/apps app_queue.c,1.105,1.106

markster at lists.digium.com markster at lists.digium.com
Sun Jan 2 19:32:28 CST 2005


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

Modified Files:
	app_queue.c 
Log Message:
Rename musiconhold option for consistency (bug #3163)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- app_queue.c	26 Dec 2004 11:08:34 -0000	1.105
+++ app_queue.c	3 Jan 2005 01:37:44 -0000	1.106
@@ -2203,7 +2203,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