[asterisk-commits] branch russell/hold_handling r37732 - in /team/russell/hold_handling: apps/ c...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jul 16 09:38:01 MST 2006


Author: russell
Date: Sun Jul 16 11:38:00 2006
New Revision: 37732

URL: http://svn.digium.com/view/asterisk?rev=37732&view=rev
Log:
update docs for the queue musicclass option

Modified:
    team/russell/hold_handling/apps/app_queue.c
    team/russell/hold_handling/configs/queues.conf.sample

Modified: team/russell/hold_handling/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/russell/hold_handling/apps/app_queue.c?rev=37732&r1=37731&r2=37732&view=diff
==============================================================================
--- team/russell/hold_handling/apps/app_queue.c (original)
+++ team/russell/hold_handling/apps/app_queue.c Sun Jul 16 11:38:00 2006
@@ -754,7 +754,8 @@
 	char *c, *lastc;
 	char buff[80];
 
-	if (!strcasecmp(param, "music") || !strcasecmp(param, "musiconhold")) {
+	if (!strcasecmp(param, "musicclass") || 
+		!strcasecmp(param, "music") || !strcasecmp(param, "musiconhold")) {
 		ast_copy_string(q->moh, val, sizeof(q->moh));
 	} else if (!strcasecmp(param, "announce")) {
 		ast_copy_string(q->announce, val, sizeof(q->announce));

Modified: team/russell/hold_handling/configs/queues.conf.sample
URL: http://svn.digium.com/view/asterisk/team/russell/hold_handling/configs/queues.conf.sample?rev=37732&r1=37731&r2=37732&view=diff
==============================================================================
--- team/russell/hold_handling/configs/queues.conf.sample (original)
+++ team/russell/hold_handling/configs/queues.conf.sample Sun Jul 16 11:38:00 2006
@@ -51,10 +51,12 @@
 ;
 ; A sample call queue
 ;
-; Musiconhold sets which music applies for this particular
-; call queue (configure classes in musiconhold.conf)
-;
-;musiconhold = default
+; Musicclass sets which music applies for this particular call queue.
+; The only class which can override this one is if the MOH class is set
+; directly on the channel using Set(CHANNEL(musicclass)=whatever) in the
+; dialplan.
+;
+;musicclass = 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



More information about the asterisk-commits mailing list