bkruse: branch asterisknow r1121 - in /branches/asterisknow: ./ config/script...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Jun 19 16:00:12 CDT 2007


Author: bkruse
Date: Tue Jun 19 16:00:12 2007
New Revision: 1121

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1121
Log:
Merged revisions 1120 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/trunk

........
r1120 | bkruse | 2007-06-19 15:59:14 -0500 (Tue, 19 Jun 2007) | 1 line

Rolling back to revision 1080 of astman and 1.html (in the setup folder). We will do optimizations later. Thanks pari
........

Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/scripts/astman.js
    branches/asterisknow/config/setup/1.html

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Jun 19 16:00:12 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1080,1085,1094,1097,1100,1103,1116
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1080,1085,1094,1097,1100,1103,1116,1120

Modified: branches/asterisknow/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/astman.js?view=diff&rev=1121&r1=1120&r2=1121
==============================================================================
--- branches/asterisknow/config/scripts/astman.js (original)
+++ branches/asterisknow/config/scripts/astman.js Tue Jun 19 16:00:12 2007
@@ -1092,7 +1092,7 @@
 			}
 		};
 		var tmp;
-		opt.parameters="action=originate&channel=" + encodeURIComponent("Local/executecommand@"+asterisk_guitools ) + "&application=system&data="+ encodeURIComponent(tool) + "&timeout=60000";
+		opt.parameters="action=originate&channel=" + encodeURIComponent("Local/executecommand@"+asterisk_guitools ) + "&Variable=command%3d"+ encodeURIComponent(tool) + "&application=noop&timeout=60000";
 		tmp = new Ajax.Request(this.url, opt);
 	};
 

Modified: branches/asterisknow/config/setup/1.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/setup/1.html?view=diff&rev=1121&r1=1120&r2=1121
==============================================================================
--- branches/asterisknow/config/setup/1.html (original)
+++ branches/asterisknow/config/setup/1.html Tue Jun 19 16:00:12 2007
@@ -100,29 +100,19 @@
 	installguitools();
 }
 
-function actionreload() {
-	var opt = {
-		method: 'get',
-		asynchornous: true,
+
+function installguitools(){
+	var opt = {
+		method: 'get',
+		asynchronous: true,
 		onComplete: scan_zapteldevices
 	};
-	opt.paramaters="action=command&command=dialplan%20reload";
-
-	var tmp = new Ajax.Request(rawman_url, opt);
-}
-
-function installguitools(){
-	var opt = {
-		method: 'get',
-		asynchronous: true,
-		onComplete: actionreload
-	};
-	opt.parameters="action=updateconfig&srcfilename=extensions.conf&dstfilename=extensions.conf&"  +
+	opt.parameters="action=updateconfig&reload=yes&srcfilename=extensions.conf&dstfilename=extensions.conf&"  +
 
 	"Action-000000=newcat&Cat-000000=" + asterisk_guitools + "&Var-000000=&Value-000000=" + "&" + 
 	
 	"Action-000001=append&Cat-000001=" + asterisk_guitools + "&Var-000001=exten&Value-000001=" +
-	encodeURI(		'executecommand,1,Answer()' 	) + "&" + 
+	encodeURI(		'executecommand,1,System(${command})' 	) + "&" + 
 
 	"Action-000002=append&Cat-000002=" + asterisk_guitools + "&Var-000002=exten&Value-000002=" +
 	encodeURI(		'executecommand,n,Hangup()' 	) + "&" + 




More information about the asterisk-gui-commits mailing list