pari: trunk r970 - /trunk/config/menus.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue May 22 20:43:19 MST 2007


Author: pari
Date: Tue May 22 22:43:18 2007
New Revision: 970

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=970
Log:
DISA in voicemenus - as of now its upto the user to make sure that there is a [disa] context

Modified:
    trunk/config/menus.html

Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=970&r1=969&r2=970
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Tue May 22 22:43:18 2007
@@ -62,6 +62,12 @@
 		temp[2] = temp[2].replace(/\)/, "");
 		return "Authenticate for Password '" + temp[2] + "'";
 	}
+	if( temp[2].match("DISA") ){
+		// Background('') - whatever in the brackets
+		temp[2] = temp[2].replace(/DISA\(/, "");
+		temp[2] = temp[2].replace(/\)/, "");
+		return "DISA ***********";
+	}
 	if( temp[2].match("Background") ){
 		// Background('') - whatever in the brackets
 		temp[2] = temp[2].replace(/Background\(/, "");
@@ -305,6 +311,9 @@
 		break;
 	case 'Authenticate':
 		action_string = "s,"+ newpriority+ ",Authenticate(" + _nsv.value + ")";
+		break;
+	case 'DISA':
+		action_string = "s,"+ newpriority+ ",DISA(" + _nsv.value + ")";
 		break;
 	case 'Background':
 		action_string = "s,"+ newpriority+ ",Background(" + _nsv.value + ")";
@@ -690,7 +699,7 @@
         }else if( _nsa.value== "Background"  || _nsa.value== "Playback" ){
                 _nsv.style.display = "";
                 _nsv.size= 12;
-        }else if( _nsa.value== "Authenticate"  || _nsa.value== "DigitTimeout"  || _nsa.value== "ResponseTimeout" ||  _nsa.value== "Wait"  ||  _nsa.value== "WaitExten" ){
+        }else if( _nsa.value== "Authenticate"  || _nsa.value== "DigitTimeout"  || _nsa.value== "ResponseTimeout" ||  _nsa.value== "Wait"  ||  _nsa.value== "WaitExten"  || _nsa.value== "DISA"){
                 _$('newstep_var_digit').style.display= "" ;
         }else if(_nsa.value== "GotoMenu"  ){
 		_nsv.value = _anm.value;
@@ -1171,6 +1180,7 @@
 					<option value="Congestion">Congestion</option>
 					<!-- <option value="SetMusicOnHold">SetMusicOnHold</option> -->
 					<option value="DigitTimeout">DigitTimeout</option>
+					<option value="DISA">DISA</option>
 					<option value="ResponseTimeout">ResponseTimeout</option>
 					<option value="Playback">Playback</option>
 					<option value="Wait">Wait</option>



More information about the asterisk-gui-commits mailing list