pari: branch asterisknow r449 - in /branches: aadk/ aadk/config/ asterisknow/...

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Mar 16 16:26:39 MST 2007


Author: pari
Date: Fri Mar 16 18:26:38 2007
New Revision: 449

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=449
Log:
merging a bunch of commits in different branches

Removed:
    branches/asterisknow/config/cfgappliance.html
    branches/asterisknow/config/homeapp.html
    branches/asterisknow/config/networking.html
Modified:
    branches/aadk/   (props changed)
    branches/aadk/config/trunks.html
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/backup.html
    branches/asterisknow/config/cfgadvanced.html
    branches/asterisknow/config/cfgbasic.html
    branches/asterisknow/config/home.html
    branches/asterisknow/config/iax.html
    branches/asterisknow/config/incoming.html
    branches/asterisknow/config/jabber.html
    branches/asterisknow/config/jingle.html
    branches/asterisknow/config/localexts.html
    branches/asterisknow/config/meetme.html
    branches/asterisknow/config/menus.html
    branches/asterisknow/config/moh.html
    branches/asterisknow/config/numberplan.html
    branches/asterisknow/config/options.html
    branches/asterisknow/config/queues.html
    branches/asterisknow/config/record.html
    branches/asterisknow/config/scripts/astman.js
    branches/asterisknow/config/scripts/tooltip.js
    branches/asterisknow/config/setup/1.html
    branches/asterisknow/config/setup/10.html
    branches/asterisknow/config/setup/2.html
    branches/asterisknow/config/setup/3.html
    branches/asterisknow/config/setup/4.html
    branches/asterisknow/config/setup/5.html
    branches/asterisknow/config/setup/6.html
    branches/asterisknow/config/setup/7.html
    branches/asterisknow/config/setup/8.html
    branches/asterisknow/config/setup/install.html
    branches/asterisknow/config/sip.html
    branches/asterisknow/config/status.html
    branches/asterisknow/config/sysinfo.html
    branches/asterisknow/config/trunks.html
    branches/asterisknow/config/users.html
    branches/asterisknow/config/voicemail.html
    branches/asterisknow/config/zapata.html

Propchange: branches/aadk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Mar 16 18:26:38 2007
@@ -1,1 +1,1 @@
-/trunk:1-430,433-436
+/trunk:1-430,433-448

Modified: branches/aadk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/trunks.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/aadk/config/trunks.html (original)
+++ branches/aadk/config/trunks.html Fri Mar 16 18:26:38 2007
@@ -929,6 +929,7 @@
 }
 
 function advanced_save(){
+	$('save').disabled = false;
 	$('save').click();
 	$('bg_transparent').style.display = "none";
 	$('advanced_content').style.display = "none";

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Mar 16 18:26:38 2007
@@ -1,1 +1,1 @@
-/trunk:1-412
+/trunk:1-448

Modified: branches/asterisknow/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/backup.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/backup.html (original)
+++ branches/asterisknow/config/backup.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "Users" generally
+ * "Backup / Restore" management
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact

Modified: branches/asterisknow/config/cfgadvanced.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgadvanced.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/cfgadvanced.html (original)
+++ branches/asterisknow/config/cfgadvanced.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
- *
- * Top level for configuration GUI
- *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Asterisk-GUI	-	an Asterisk configuration interface
+ *
+ * Top level for configuration file  (with some additional advanced tabs )
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact

Modified: branches/asterisknow/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgbasic.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/cfgbasic.html (original)
+++ branches/asterisknow/config/cfgbasic.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
- *
- * Top level for configuration GUI
- *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Asterisk-GUI	-	an Asterisk configuration interface
+ *
+ * Top level for configuration file
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact

Modified: branches/asterisknow/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/home.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/home.html (original)
+++ branches/asterisknow/config/home.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
  * Initial login screen
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <link href="stylesheets/rico.css" media="all" rel="Stylesheet" type="text/css" />
 <link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
@@ -33,11 +33,13 @@
 			$('username').disabled = 1;
 			$('secret').disabled = 1;
 			$('logoff').disabled = 0;
+			$('reloadconfig').disabled = 0;
 			$('login').disabled = 1;
 		} else {
 			$('username').disabled = 0;
 			$('secret').disabled = 0;
 			$('logoff').disabled = 1;
+			$('reloadconfig').disabled = 1;
 			$('login').disabled = 0;
 			try{ $('username').focus();	}catch(err){ }
 		}
@@ -195,6 +197,17 @@
 
 }
 
+function reloadConfig(){
+	var opt = { 
+		method: 'get', 
+		asynchronous: true, 
+		onSuccess: function(t) { parent.gui_alert("Reloaded"); } ,
+		onFailure: function(t) { parent.gui_alert("Config Error: " + t.status + ": " + t.statusText); }
+	};
+	var uri = parent.build_action('renamecat', 0, "","", "", ""); 
+	opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+	var tmp = new Ajax.Request("../../rawman", opt);
+}
 </script>
 <body id="foo" onload="localinit()" topmargin=0  bgcolor="EFEFEF">
 <div class="mainscreenTitleBar">
@@ -215,6 +228,8 @@
 				</td></tr>
 
 				<tr><td align='center' colspan='2'>
+							<input type="submit" id="reloadconfig" value="Reload Config" disabled=1 onClick="reloadConfig()">
+							&nbsp;&nbsp;&nbsp;&nbsp;
 							<input type="submit" id="login" value="Login" disabled=1 onClick="doLogin()" class="input">
 							&nbsp;&nbsp;&nbsp;&nbsp;
 							<input type="submit" id="logoff" value="Logoff" disabled=1 onClick="doLogoff()" class="input">

Modified: branches/asterisknow/config/iax.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/iax.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/iax.html (original)
+++ branches/asterisknow/config/iax.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
- *
- * Configuration for "Users" generally
- *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Asterisk-GUI	-	an Asterisk configuration interface
+ *
+ * Global IAX Settings
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact

Modified: branches/asterisknow/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/incoming.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/incoming.html (original)
+++ branches/asterisknow/config/incoming.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "Users" generally
+ * Incoming Calling Rules
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -322,7 +323,7 @@
 			}
 		};
 
-		opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+		opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 		var tmp = new Ajax.Request("../../rawman", opt);
 	// 
 }
@@ -393,7 +394,7 @@
 			gui_alert("Config Error: " + t.status + ": " + t.statusText);
 		}
 	};
-	opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+	opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 	var tmp = new Ajax.Request("../../rawman", opt);
 
 }
@@ -452,7 +453,7 @@
 			var tmp2_match = "s," + d + "," + c ;
 			uri += build_action('delete',1,b,"exten","", tmp2_match);
 		}
-		opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+		opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 		var tmp = new Ajax.Request("../../rawman", opt);
 }
 

Modified: branches/asterisknow/config/jabber.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/jabber.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/jabber.html (original)
+++ branches/asterisknow/config/jabber.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "Users" generally
+ * Configure accounts in jabber.conf 
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <script src="scripts/rico.js"></script>
 <script src="scripts/astman.js"></script>

Modified: branches/asterisknow/config/jingle.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/jingle.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/jingle.html (original)
+++ branches/asterisknow/config/jingle.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
- *
- * Configuration for "Users" generally
- *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Asterisk-GUI	-	an Asterisk configuration interface
+ *
+ * Configure accounts in jingle.conf
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <script src="scripts/rico.js"></script>
 <script src="scripts/astman.js"></script>
@@ -158,7 +158,6 @@
 
 function localajaxinit() {
 			setWindowTitle("Jingle");
-			// Load the jabber.conf->users into the Users, associate the field to other fields
 			parent.loadscreen(this);
 			for (var x =0; x < fieldnames.length; x++) {
 				widgets[fieldnames[x]] = $(fieldnames[x]);

Modified: branches/asterisknow/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/localexts.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/localexts.html (original)
+++ branches/asterisknow/config/localexts.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "Users" generally
+ * Local Extension Preferences
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -70,7 +71,7 @@
 							gui_alert("Config Error: " + t.status + ": " + t.statusText);
 						}
 					};
-					opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("users.conf") + "&dstfilename=" + encodeURIComponent("users.conf") + "&Action-000000=update&Cat-000000=general&Var-000000=localextenlength&Value-000000=4"; ;
+					opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("users.conf") + "&dstfilename=" + encodeURIComponent("users.conf") + "&Action-000000=update&Cat-000000=general&Var-000000=localextenlength&Value-000000=4"; ;
 					var tmp = new Ajax.Request("../../rawman", opt);
 					return;
 		}

Modified: branches/asterisknow/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/meetme.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/meetme.html (original)
+++ branches/asterisknow/config/meetme.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
- *
- * Configuration for "MeetMe Extensions"
- *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Asterisk-GUI	-	an Asterisk configuration interface
+ *
+ * Create/Manage Conference Bridges
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <script src="scripts/rico.js"></script>
 <script src="scripts/astman.js"></script>
@@ -292,7 +292,7 @@
 														$('save').disabled = true; $('cancel').disabled = true;
 												} 
 									};
-				opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("meetme.conf") + "&dstfilename=" + encodeURIComponent("meetme.conf") + uri;
+				opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("meetme.conf") + "&dstfilename=" + encodeURIComponent("meetme.conf") + uri;
 				var tmp = new Ajax.Request("../../rawman", opt);
 				return true;
 		}
@@ -310,7 +310,7 @@
 										 f.stored_config.catbyname.rooms.fields.splice(r ,1);
 										}
 						};
-						opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("meetme.conf") + "&dstfilename=" + encodeURIComponent("meetme.conf") + uri;
+						opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("meetme.conf") + "&dstfilename=" + encodeURIComponent("meetme.conf") + uri;
 						var tmp = new Ajax.Request("../../rawman", opt);
 						break;
 					}

Modified: branches/asterisknow/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/menus.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/menus.html (original)
+++ branches/asterisknow/config/menus.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "Users" generally
+ * Create/Manage IVR Menus
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <script src="scripts/rico.js"></script>
 <script src="scripts/astman.js"></script>
@@ -197,7 +197,7 @@
 				};
 			var existing_alias_string = voicemenusdata[deleted_voicmenu].alias_exten + ",1,Goto(" + deleted_voicmenu + "|s|1)"  ;
 			var uri = build_action('delete', 0, specialcontext ,"exten", "", existing_alias_string ); 
-			opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+			opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 			var tmp = new Ajax.Request("../../rawman", opt);
 	}
 	delete voicemenusdata[deleted_voicmenu];
@@ -349,7 +349,7 @@
 	}
 
 	uri += build_action('append', 0, $('vmenus').value,"exten", action_string ); 
-	opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+	opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 	tmp = new Ajax.Request('../../rawman', opt);
 
 }
@@ -510,7 +510,7 @@
 			uri += build_action('append', p, current_vmenu,"exten", buildstring[keys[k]]); p = p+1;
 	}
 
-	opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+	opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 	// send the request
 	tmp = new Ajax.Request('../../rawman', opt);
 }
@@ -615,7 +615,7 @@
 	// ok find $('steps').options[a].value in extensions.conf and replace it with tmp1.join() and also replace $('steps').options[b].value with tmp2.join()	
 	uri += build_action('update', 0, $('vmenus').value ,"exten",tmp1.join(), $('steps').options[a].value);
 	uri += build_action('update', 1, $('vmenus').value ,"exten",tmp2.join(), $('steps').options[b].value);
-	opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+	opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 	tmp = new Ajax.Request('../../rawman', opt);
 }
 
@@ -648,7 +648,7 @@
 	};	
 	var uri = "";
 	uri += build_action('delete', 0, $('vmenus').value,"exten", "", $('steps').value); 
-	opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+	opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 	tmp = new Ajax.Request('../../rawman', opt);
 }
 

Modified: branches/asterisknow/config/moh.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/moh.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/moh.html (original)
+++ branches/asterisknow/config/moh.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "Users" generally
+ * Manage "Music On Hold" Classes
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <script src="scripts/rico.js"></script>
 <script src="scripts/astman.js"></script>

Modified: branches/asterisknow/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/numberplan.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/numberplan.html (original)
+++ branches/asterisknow/config/numberplan.html Fri Mar 16 18:26:38 2007
@@ -1,9 +1,9 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "NumberPlans"
+ * Create Manage 'Dial Plans'
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
  * Pari Nannapaneni <pari at digium.com>
@@ -139,7 +139,7 @@
 							gui_alert("Config Error: " + t.status + ": " + t.statusText);
 						}
 					};
-					opt.parameters= "action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+					opt.parameters= "action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 					$('userscontent').style.display="none";
 					$('bg_transparent').style.display ='none';
 					$('status_message').style.display="block";
@@ -391,7 +391,7 @@
 				gui_alert("Config Error: " + t.status + ": " + t.statusText);
 			}
 		};
-		opt.parameters= "action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+		opt.parameters= "action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 		$('userscontent').style.display="none";
 		$('bg_transparent').style.display ='none';
 		$('status_message').style.display="block";
@@ -610,7 +610,7 @@
 			gui_alert("Config Error: " + t.status + ": " + t.statusText);
 		}
 	};
-	opt.parameters= "action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
+	opt.parameters= "action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri;
 	var tmp = new Ajax.Request("../../rawman", opt);
 }
 

Modified: branches/asterisknow/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/options.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/options.html (original)
+++ branches/asterisknow/config/options.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
- *
- * Configuration for "Users" generally
- *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Asterisk-GUI	-	an Asterisk configuration interface
+ *
+ * Options to Change Password
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -71,7 +72,7 @@
 				gui_alert("Config Error: " + t.status + ": " + t.statusText);
 			}
 		};
-		opt.parameters ="action=updateconfig&reload=yes&srcfilename=manager.conf&dstfilename=manager.conf&Action-000000=update&Cat-000000=general&Var-000000=httptimeout&Value-000000="+ encodeURIComponent($('httptimeout').value);
+		opt.parameters ="action=updateconfig&srcfilename=manager.conf&dstfilename=manager.conf&Action-000000=update&Cat-000000=general&Var-000000=httptimeout&Value-000000="+ encodeURIComponent($('httptimeout').value);
 		var tmp = new Ajax.Request("../../rawman", opt);
 		return;
 }
@@ -97,7 +98,7 @@
 					gui_alert("Config Error: " + t.status + ": " + t.statusText);
 				}
 		};
-		opt.parameters ="action=updateconfig&reload=yes&srcfilename=http.conf&dstfilename=http.conf&Action-000000=update&Cat-000000=general&Var-000000=bindport&Value-000000="+ encodeURIComponent($('bindport').value) + "&Action-000001=update&Cat-000001=general&Var-000001=bindaddr&Value-000001=" + encodeURIComponent($('bindaddr').value );
+		opt.parameters ="action=updateconfig&srcfilename=http.conf&dstfilename=http.conf&Action-000000=update&Cat-000000=general&Var-000000=bindport&Value-000000="+ encodeURIComponent($('bindport').value) + "&Action-000001=update&Cat-000001=general&Var-000001=bindaddr&Value-000001=" + encodeURIComponent($('bindaddr').value );
 		var tmp = new Ajax.Request("../../rawman", opt);
 }
 
@@ -154,7 +155,7 @@
 				gui_alert("Config Error: " + t.status + ": " + t.statusText);
 			}
 		};
-		opt.parameters ="action=updateconfig&reload=yes&srcfilename=manager.conf&dstfilename=manager.conf&Action-000000=update&Cat-000000=" + current_username + "&Var-000000=secret&Value-000000="+ encodeURIComponent($('newpass').value );
+		opt.parameters ="action=updateconfig&srcfilename=manager.conf&dstfilename=manager.conf&Action-000000=update&Cat-000000=" + current_username + "&Var-000000=secret&Value-000000="+ encodeURIComponent($('newpass').value );
 		var tmp = new Ajax.Request("../../rawman", opt);
 		return;
 }

Modified: branches/asterisknow/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/queues.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/queues.html (original)
+++ branches/asterisknow/config/queues.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
+ * Asterisk-GUI	-	an Asterisk configuration interface
  *
- * Configuration for "Queue Extensions"
+ * Manage Queues
  *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <script src="scripts/rico.js"></script>
 <script src="scripts/astman.js"></script>
@@ -73,7 +73,7 @@
 				}
 	};
 	uri0 = build_action('update', 0, specialcontext ,'exten', b+',1,Queue(${EXTEN})', a+',1,Queue(${EXTEN})' ); 
-	opt0.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri0;
+	opt0.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri0;
 	tmp0 = new Ajax.Request('../../rawman', opt0);
 }
 
@@ -92,7 +92,7 @@
 				}
 	};
 	uri0 = build_action('append', 0, specialcontext ,'exten', a+',1,Queue(${EXTEN})'); 
-	opt0.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri0;
+	opt0.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri0;
 	tmp0 = new Ajax.Request('../../rawman', opt0);
 }
 
@@ -110,7 +110,7 @@
 				}
 	};
 	uri0 = build_action('delete', 0, specialcontext ,'exten', '',a+',1,Queue(${EXTEN})'); 
-	opt0.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri0;
+	opt0.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("extensions.conf") + "&dstfilename=" + encodeURIComponent("extensions.conf") + uri0;
 	tmp0 = new Ajax.Request('../../rawman', opt0);
 }
 
@@ -260,7 +260,7 @@
 			}
 		}
 
-		opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("queues.conf") + "&dstfilename=" + encodeURIComponent("queues.conf") + uri;
+		opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("queues.conf") + "&dstfilename=" + encodeURIComponent("queues.conf") + uri;
 		tmp = new Ajax.Request('../../rawman', opt);
 }
 

Modified: branches/asterisknow/config/record.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/record.html?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/record.html (original)
+++ branches/asterisknow/config/record.html Fri Mar 16 18:26:38 2007
@@ -1,11 +1,12 @@
 <!--
- * Asterisk -- An open source telephony toolkit.
- *
- * Configuration for "Users" generally
- *
- * Copyright (C) 1999 - 2006, Digium, Inc.
+ * Asterisk-GUI	-	an Asterisk configuration interface
+ *
+ * Records a voicemenu from a user selected device
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,7 +19,6 @@
  * at the top of the source tree.
  *
 -->
-
 <script src="scripts/prototype.js"></script>
 <script src="scripts/rico.js"></script>
 <script src="scripts/astman.js"></script>
@@ -125,7 +125,7 @@
 		};
 					
 		var uri = build_action('newcat', 0, filename_torecord ,"", ""); 
-		opt2.parameters ="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent(custom_voicemenusfile) + "&dstfilename=" + encodeURIComponent(custom_voicemenusfile) + uri;
+		opt2.parameters ="action=updateconfig&srcfilename=" + encodeURIComponent(custom_voicemenusfile) + "&dstfilename=" + encodeURIComponent(custom_voicemenusfile) + uri;
 		var tmp2 = new Ajax.Request("../../rawman", opt2);
 }
 

Modified: branches/asterisknow/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/astman.js?view=diff&rev=449&r1=448&r2=449
==============================================================================
--- branches/asterisknow/config/scripts/astman.js (original)
+++ branches/asterisknow/config/scripts/astman.js Fri Mar 16 18:26:38 2007
@@ -183,7 +183,6 @@
 	return json_data ;
 }
 
-
 function setWindowTitle(a){
 	top.document.title = asterisk_guiappname + " -- " + a ;
 }
@@ -229,7 +228,6 @@
 	  if( tmp_left > 0 && tmp_left < dragdata.maxleft ){ $(dragdata.movethis).style.left = tmp_left  + "px"; }
 	  if( tmp_top > 0 && tmp_top < dragdata.maxtop ){ $(dragdata.movethis).style.top  = tmp_top + "px"; }
 }
-
 
 function check_patternonfields(fields){
 	// for checking validity of field contents before form submitting 
@@ -261,8 +259,6 @@
 		document.body.appendChild(h);
 }
 
-
-
 function combo_box(a, b, c ){	
 		var combo_text = document.getElementById(a);
 		var combo_selectdiv = document.getElementById(b);
@@ -303,7 +299,6 @@
 				combo_selectdiv.style.display = "none";				
 		}
 
-
 		function	efgh(event) {
 				if( event.keyCode == ENTER ){
 						combo_text.value = combo_selectbox.value;
@@ -337,7 +332,6 @@
 	add_event( combo_selectbox, 'keypress' , efgh ) ;
 	add_event( combo_selectbox, 'click' , ijkl ) ;
 
-
 		function combobox_activate(){
 				var tmp_left = combo_text.offsetLeft;
 				var tmp_top = combo_text.offsetTop + combo_text.offsetHeight;
@@ -354,8 +348,6 @@
 		}
 }
 
-
-
 function  InArray(search_array, searchstring ){
 	var i = search_array.length
 	if( i>0){
@@ -367,7 +359,6 @@
 
 	return false;	
 }
-
 
 function objcopy(orig) {
 	var copy = new Object;
@@ -381,11 +372,7 @@
 	return copy;
 };
 
-
-
-
-function do_compare(box, a, b)
-{
+function do_compare(box, a, b){
 	var ret;
 	if (box.callbacks.compare) {
 		return box.callbacks.compare(box, a,b);
@@ -394,13 +381,7 @@
 	return false;
 }
 
-
-
-
-
-
-function insert_option(box, res, value, core_name)
-{
+function insert_option(box, res, value, core_name){
 	var z;
 	if (res) {
 		var opt_new = document.createElement('option');
@@ -426,8 +407,7 @@
 	}
 }
 
-function reformat_option(box, index)
-{
+function reformat_option(box, index){
 	var v, tmp, res;
 	var cfg = box.stored_config;
 	
@@ -444,8 +424,7 @@
 	}
 }
 
-function update_option(box, index)
-{
+function update_option(box, index){
 	var v, tmp;
 	var cfg = box.stored_config;
 	v = box.options[index].value;
@@ -495,19 +474,6 @@
 	select_item(box);
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
-
 function select_item(box, errmsg) {
 	var category;
 	var tmp;
@@ -565,22 +531,6 @@
 	return true;
 };
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 function cancel_item(box) {
 	var tmp = box.options[box.selectedIndex].value.split(']');
 	if (tmp.length > 1) {
@@ -611,22 +561,6 @@
 	}
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 function first_free_exten(box, start) {
 	var x = start;
 	var y;
@@ -642,10 +576,6 @@
 	return x;
 }
 
-
-
-
-
 function action_issuccess(responseText) {
 	if ( responseText.indexOf("Response: Success") == -1 ){
 			return false;
@@ -658,7 +588,6 @@
 	var tmp = responseText.split("Message:");
 	return tmp[1];
 }
-
 
 function delete_item(box, value, noconfirm) {
 	var opt = {
@@ -675,7 +604,6 @@
 //			}else{
 //				alert( action_errmsg (t.responseText) );
 //			}
-
 		},
 		onFailure: function(t) {
 			gui_alert("Config Error: " + t.status + ": " + t.statusText);
@@ -724,7 +652,7 @@
 				box.widgets['status'].innerHTML = "<i>Deleted.</i>";
 		} else {
 			uri = build_action('delete', 0, tmp[0], subname, "", suborig);
-			opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
+			opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
 						encodeURIComponent(box.config_file) + uri;
 			tmp = new Ajax.Request(box.engine.url, opt);
 		}
@@ -745,7 +673,7 @@
 				box.widgets['status'].innerHTML = "<i>Deleted.</i>";
 		} else {
 			uri = build_action('delcat', 0, value, "", "");
-			opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
+			opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
 						encodeURIComponent(box.config_file) + uri;
 			tmp = new Ajax.Request(box.engine.url, opt);
 		}
@@ -769,30 +697,6 @@
 		select_item(box);
 	}
 };
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 
 function new_item(box) {
 	var category = null;
@@ -842,24 +746,6 @@
 	}
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 function new_subitem(box) {
 	var name = null;
 	var tmp;
@@ -916,12 +802,7 @@
 		box.widgets['name'].value = name;
 }
 
-
-
-
-
-function apply_uri(box, uri)
-{
+function apply_uri(box, uri){
 	var opt = {
 		method: 'get',
 		asynchronous: true,
@@ -945,25 +826,10 @@
 	};
 	var tmp;
 	
-	opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
+	opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
 				encodeURIComponent(box.config_file) + uri;
 	tmp = new Ajax.Request(box.engine.url, opt);
 }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 
 
 function save_item(box) {
@@ -1042,7 +908,7 @@
 				}
 			} else
 				box.remove(box.selectedIndex);
-			opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
+			opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
 						encodeURIComponent(box.config_file) + uri;
 			temp = new Ajax.Request(box.engine.url, opt);
 		}
@@ -1088,7 +954,7 @@
 					box.remove(box.selectedIndex);
 				}
 			}
-			opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
+			opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent(box.config_file) + "&dstfilename=" +
 						encodeURIComponent(box.config_file) + uri;
 			temp = new Ajax.Request(box.engine.url, opt);
 		}
@@ -1105,37 +971,7 @@
 	}
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-function ast_true(s)
-{
+function ast_true(s){
 	if ((s == 'yes') ||
 		(s == 'true') ||
 		(s == 'y') ||
@@ -1147,19 +983,7 @@
 		return false;
 }
 
-
-
-
-
-
-
-
-
-
-
-
-function build_action(action, count, cat, name, value, match)
-{
+function build_action(action, count, cat, name, value, match){
 	var s="";
 	var cnt = "" + count;
 	while(cnt.length < 6)
@@ -1174,11 +998,7 @@
 	return s;
 }
 
-
-
-
-function check_pattern(pattern, text)
-{
+function check_pattern(pattern, text){
 	if(typeof text != "undefined"){
 		if (text.search(pattern) == -1)
 				return false;
@@ -1187,10 +1007,6 @@
 	}
 	return true;
 }
-
-
-
-
 
 
 function Astman() {
@@ -1926,17 +1742,6 @@
 		return null;
 	}
 	
-
-
-
-
-
-
-
-
-
-
-
 	function format_extension(box, t, x, multipriority) {
 		var tmp;
 		var exten, app, rest, args, label, priority;
@@ -1945,7 +1750,6 @@
 		tmp = t.fields[x].split(',');
 		priority = tmp[1];
 
-
 		// if it is a Voicemenu alias .. return "extension -- Voicemenu"
 		if ( tmp[2].match("Goto") && tmp[2].match("voicemenu-custom-" )  ){
 
@@ -1966,7 +1770,6 @@
 				}
 		}
 		//
-
 
 		if (!multipriority && (tmp[1] != '1'))
 			return null;
@@ -2014,11 +1817,9 @@
 		}
 	}	
 
-

[... 896 lines stripped ...]


More information about the asterisk-gui-commits mailing list