pari: branch aadk r426 - in /branches/aadk/config: ./ scripts/ setup/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Mar 14 14:47:21 MST 2007


Author: pari
Date: Wed Mar 14 16:47:20 2007
New Revision: 426

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=426
Log:
**** Major Change **** Manual Reloading of asterisk - after all changes are done in the gui, go to home panel and click the 'Reload Config' button

Modified:
    branches/aadk/config/homeapp.html
    branches/aadk/config/incoming.html
    branches/aadk/config/localexts.html
    branches/aadk/config/meetme.html
    branches/aadk/config/menus.html
    branches/aadk/config/numberplan.html
    branches/aadk/config/options.html
    branches/aadk/config/queues.html
    branches/aadk/config/record.html
    branches/aadk/config/scripts/astman.js
    branches/aadk/config/setup/1.html
    branches/aadk/config/setup/3.html
    branches/aadk/config/setup/4.html
    branches/aadk/config/setup/5.html
    branches/aadk/config/setup/8.html
    branches/aadk/config/trunks.html
    branches/aadk/config/users.html

Modified: branches/aadk/config/homeapp.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/homeapp.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/homeapp.html (original)
+++ branches/aadk/config/homeapp.html Wed Mar 14 16:47:20 2007
@@ -37,6 +37,7 @@
 			$('reboot').disabled = 0;
 			$('factorydefault').disabled = 0;
 			$('saveconfig').disabled = 0;
+			$('reloadconfig').disabled = 0;
 			$('login').disabled = 1;
 		} else {
 			$('username').disabled = 0;
@@ -45,6 +46,7 @@
 			$('reboot').disabled = 1;
 			$('factorydefault').disabled = 1;
 			$('saveconfig').disabled = 1;
+			$('reloadconfig').disabled = 1;
 			$('login').disabled = 0;
 			$('username').focus();
 		}
@@ -199,6 +201,18 @@
 			parent.window.location.href = "./setup/install.html";
 		}
 
+	}
+
+	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()"  bgcolor="EFEFEF">
@@ -222,7 +236,10 @@
 				<tr><td align='center' colspan='2'><input type="submit" id="login" value="Login" disabled=1 onClick="doLogin()">
 				&nbsp;&nbsp;&nbsp;&nbsp;
 				<input type="submit" id="logoff" value="Logoff" disabled=1 onClick="doLogoff()"></td></tr>
-				<tr><td align='center' colspan='2'><input type="submit" id="saveconfig" value="Save Config" disabled=1 onClick="doSaveConfig()">
+				<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="saveconfig" value="Save Config" disabled=1 onClick="doSaveConfig()">
 				&nbsp;&nbsp;&nbsp;&nbsp;
 				<input type="submit" id="reboot" value="Reboot" disabled=1 onClick="doReboot()">
 				&nbsp;&nbsp;&nbsp;&nbsp;

Modified: branches/aadk/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/incoming.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/incoming.html (original)
+++ branches/aadk/config/incoming.html Wed Mar 14 16:47:20 2007
@@ -322,7 +322,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 +393,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 +452,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/aadk/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/localexts.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/localexts.html (original)
+++ branches/aadk/config/localexts.html Wed Mar 14 16:47:20 2007
@@ -70,7 +70,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/aadk/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/meetme.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/meetme.html (original)
+++ branches/aadk/config/meetme.html Wed Mar 14 16:47:20 2007
@@ -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/aadk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/menus.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/menus.html (original)
+++ branches/aadk/config/menus.html Wed Mar 14 16:47:20 2007
@@ -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/aadk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/numberplan.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/numberplan.html (original)
+++ branches/aadk/config/numberplan.html Wed Mar 14 16:47:20 2007
@@ -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/aadk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/options.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/options.html (original)
+++ branches/aadk/config/options.html Wed Mar 14 16:47:20 2007
@@ -71,7 +71,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 +97,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 +154,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/aadk/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/queues.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/queues.html (original)
+++ branches/aadk/config/queues.html Wed Mar 14 16:47:20 2007
@@ -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/aadk/config/record.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/record.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/record.html (original)
+++ branches/aadk/config/record.html Wed Mar 14 16:47:20 2007
@@ -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/aadk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/scripts/astman.js?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/scripts/astman.js (original)
+++ branches/aadk/config/scripts/astman.js Wed Mar 14 16:47:20 2007
@@ -724,7 +724,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 +745,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);
 		}
@@ -945,7 +945,7 @@
 	};
 	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);
 }
@@ -1042,7 +1042,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 +1088,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);
 		}

Modified: branches/aadk/config/setup/1.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/1.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/setup/1.html (original)
+++ branches/aadk/config/setup/1.html Wed Mar 14 16:47:20 2007
@@ -184,7 +184,7 @@
 			asynchronous: true,
 			onComplete: showResponse
 		};
-		opt.parameters="action=login&reload=yes&username="+ $('username').value + "&secret=" + $('secret').value ;
+		opt.parameters="action=login&username="+ $('username').value + "&secret=" + $('secret').value ;
 		var tmp = new Ajax.Request(rawman_url , opt);
 }
 

Modified: branches/aadk/config/setup/3.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/3.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/setup/3.html (original)
+++ branches/aadk/config/setup/3.html Wed Mar 14 16:47:20 2007
@@ -103,7 +103,7 @@
 							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_url, opt);
 		}
 }

Modified: branches/aadk/config/setup/4.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/4.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/setup/4.html (original)
+++ branches/aadk/config/setup/4.html Wed Mar 14 16:47:20 2007
@@ -39,7 +39,7 @@
 				alert("Failed to create a DID context for " + trunk);
 			}
 		};
-		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_url, opt);
 	}
 
@@ -56,7 +56,7 @@
 					alert("Failed to Rename the DID context for " + old_didcontext );
 				}
 			};
-			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);
 	}
 
@@ -72,7 +72,7 @@
 				alert("Failed to delete DID context for " + trunk);
 			}
 		};
-		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_url, opt);
 	}
 

Modified: branches/aadk/config/setup/5.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/5.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/setup/5.html (original)
+++ branches/aadk/config/setup/5.html Wed Mar 14 16:47:20 2007
@@ -76,7 +76,7 @@
 			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_url, opt);
 }
 
@@ -267,7 +267,7 @@
 				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";
@@ -407,7 +407,7 @@
 							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";

Modified: branches/aadk/config/setup/8.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/8.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/setup/8.html (original)
+++ branches/aadk/config/setup/8.html Wed Mar 14 16:47:20 2007
@@ -303,7 +303,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_url, opt);
 	// 
 }
@@ -374,7 +374,7 @@
 			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_url, opt);
 
 }
@@ -433,7 +433,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_url, opt);
 }
 

Modified: branches/aadk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/trunks.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/trunks.html (original)
+++ branches/aadk/config/trunks.html Wed Mar 14 16:47:20 2007
@@ -60,7 +60,7 @@
 				gui_alert("Config Error: " + t.status + ": " + t.statusText + "<BR><BR>"+ "Failed to create a DID context for " + trunk );
 			}
 		};
-		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);
 	}
 
@@ -77,7 +77,7 @@
 				gui_alert("Failed to Rename the DID context for " + old_didcontext );
 			}
 		};
-		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);
 	}
 
@@ -94,7 +94,7 @@
 				gui_alert("Failed to delete DID context for " + trunk);
 			}
 		};
-		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/aadk/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/users.html?view=diff&rev=426&r1=425&r2=426
==============================================================================
--- branches/aadk/config/users.html (original)
+++ branches/aadk/config/users.html Wed Mar 14 16:47:20 2007
@@ -224,7 +224,7 @@
 			}else{
 				uri += build_action('update', p, $('devices').value ,"registeriax", "no" ); p++;
 			}
-			opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("users.conf") + "&dstfilename=" + encodeURIComponent("users.conf") + uri;
+			opt.parameters="action=updateconfig&srcfilename=" + encodeURIComponent("users.conf") + "&dstfilename=" + encodeURIComponent("users.conf") + uri;
 			var tmp = new Ajax.Request("../../rawman", opt);
 	}
 



More information about the asterisk-gui-commits mailing list