pari: branch asterisknow r2123 - /branches/asterisknow/config/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Jan 10 15:08:37 CST 2008


Author: pari
Date: Thu Jan 10 15:08:37 2008
New Revision: 2123

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2123
Log:
disable time based rules 

Modified:
    branches/asterisknow/config/cfgbasic.html
    branches/asterisknow/config/incoming.html
    branches/asterisknow/config/menus.html

Modified: branches/asterisknow/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgbasic.html?view=diff&rev=2123&r1=2122&r2=2123
==============================================================================
--- branches/asterisknow/config/cfgbasic.html (original)
+++ branches/asterisknow/config/cfgbasic.html Thu Jan 10 15:08:37 2008
@@ -240,7 +240,7 @@
 	newpanel( ["Calling Rules", "numberplan.html", "The Calling Rules define dialing permissions and least cost routing rules."]);
 	newpanel( ["Incoming Calls", "incoming.html", "Define how your incoming calls should be handled & configure DID (Direct inward Dialing)"]);
 	newpanel( ["Voice Menus", "menus.html", "Menus allow for more efficient routing of calls from incoming callers. Also known as IVR (Interactive Voice Response) menus or Digital Receptionist"]);
-	newpanel( ["Time Based Rules", "timerules.html", "define call routing rules based on date and time"]);
+//	newpanel( ["Time Based Rules", "timerules.html", "define call routing rules based on date and time"]);
 	newpanel( ["Call Parking", "callparking.html", "configure call parking features"]);
 	newpanel( ["Ring Groups", "ringgroups.html", "define RingGroups to dial more than one extension"]);
 	newpanel( ["Record a Menu", "record.html", "Allows you to record custom voicemenus over a phone"]);

Modified: branches/asterisknow/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/incoming.html?view=diff&rev=2123&r1=2122&r2=2123
==============================================================================
--- branches/asterisknow/config/incoming.html (original)
+++ branches/asterisknow/config/incoming.html Thu Jan 10 15:08:37 2008
@@ -92,7 +92,7 @@
 		if (!t.fields[x].match('NoOp')){ return false; }
 		var m = t.fields[x].split('NoOp')[1].substr(1);
 		    m = m.substr(0, m.length-1);
-		add_toext("Goto("+TIMERULES_CATEGORY+"|" + t.fields[x].split(',')[0] + "|1)", m + " -- Time Based Rule" );
+		//add_toext("Goto("+TIMERULES_CATEGORY+"|" + t.fields[x].split(',')[0] + "|1)", m + " -- Time Based Rule" );
 		return false;
 	}
 

Modified: branches/asterisknow/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/menus.html?view=diff&rev=2123&r1=2122&r2=2123
==============================================================================
--- branches/asterisknow/config/menus.html (original)
+++ branches/asterisknow/config/menus.html Thu Jan 10 15:08:37 2008
@@ -400,7 +400,7 @@
 		action_string = "s,"+ newpriority+ ",Goto(default|" + _nsv.value + "|1)";
 		break;
 	case 'GotoTimeBasedRule':
-		action_string = "s,"+ newpriority+ ",Goto(" + _$('tbr').value + ")";
+		//action_string = "s,"+ newpriority+ ",Goto(" + _$('tbr').value + ")";
 		break;
 	case 'DialRingGroup':
 		action_string = "s,"+ newpriority+ ",Goto(" + _$('rgrp').value + ")";
@@ -792,8 +792,8 @@
 		_nsv.value = _ane.value;
 		_ane.style.display = "";
         }else if(_nsa.value== "GotoTimeBasedRule"  ){
-		_$('tbr').selectedIndex = -1;
-		_$('tbr').style.display = "";
+		//_$('tbr').selectedIndex = -1;
+		//_$('tbr').style.display = "";
         }else if(_nsa.value== "DialRingGroup"  ){
 		_$('rgrp').selectedIndex = -1;
 		_$('rgrp').style.display = "";
@@ -1070,9 +1070,9 @@
 			l.value = TIMERULES_CATEGORY + ","+ t.fields[x].split(',')[0] + ",1" ;
 		
 		if(document.attachEvent){ 
-			_$('tbr').add(l);
+			//_$('tbr').add(l);
 		}else{
-			_$('tbr').add(l,null);
+			//_$('tbr').add(l,null);
 		}
 		return null ;
 	}




More information about the asterisk-gui-commits mailing list