[asterisk-commits] branch russell/hold_handling r37731 - in /team/russell/hold_handling: configs...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jul 16 09:12:13 MST 2006


Author: russell
Date: Sun Jul 16 11:12:12 2006
New Revision: 37731

URL: http://svn.digium.com/view/asterisk?rev=37731&view=rev
Log:
document the new parkedmusicclass option, which allows configuration of a specific
MOH class for parked calls

Modified:
    team/russell/hold_handling/configs/features.conf.sample
    team/russell/hold_handling/res/res_features.c

Modified: team/russell/hold_handling/configs/features.conf.sample
URL: http://svn.digium.com/view/asterisk/team/russell/hold_handling/configs/features.conf.sample?rev=37731&r1=37730&r2=37731&view=diff
==============================================================================
--- team/russell/hold_handling/configs/features.conf.sample (original)
+++ team/russell/hold_handling/configs/features.conf.sample Sun Jul 16 11:12:12 2006
@@ -18,6 +18,9 @@
 ;adsipark = yes			; if you want ADSI parking announcements
 ;findslot => next		; Continue to the 'next' free parking space. 
 				; Defaults to 'first' available
+;parkedmusicclass=default	; This is the MOH class to use for the parked channel
+				; as long as the class is not set on the channel directly
+				; using Set(CHANNEL(musicclass)=whatever) in the dialplan
 
 ;transferdigittimeout => 3	; Number of seconds to wait between digits when transfering a call
 				; (default is 3 seconds)

Modified: team/russell/hold_handling/res/res_features.c
URL: http://svn.digium.com/view/asterisk/team/russell/hold_handling/res/res_features.c?rev=37731&r1=37730&r2=37731&view=diff
==============================================================================
--- team/russell/hold_handling/res/res_features.c (original)
+++ team/russell/hold_handling/res/res_features.c Sun Jul 16 11:12:12 2006
@@ -2130,7 +2130,7 @@
 				ast_copy_string(xferfailsound, var->value, sizeof(xferfailsound));
 			} else if (!strcasecmp(var->name, "pickupexten")) {
 				ast_copy_string(pickup_ext, var->value, sizeof(pickup_ext));
-			} else if (!strcasecmp(var->name, "musicclass")) {
+			} else if (!strcasecmp(var->name, "parkedmusicclass")) {
 				ast_copy_string(parkmohclass, var->value, sizeof(parkmohclass));
 			}
 		}



More information about the asterisk-commits mailing list