bkruse: branch asterisknow r1281 - in /branches/asterisknow: ./ config/ confi...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Jul 31 18:08:06 CDT 2007


Author: bkruse
Date: Tue Jul 31 18:08:05 2007
New Revision: 1281

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

........
r1279 | bkruse | 2007-07-31 18:04:43 -0500 (Tue, 31 Jul 2007) | 1 line

Support for dynamically allowing parked access to the parked calls parking lot. This will let administrators have the ability to control which dialplans(numberplans) have access to the parking lot
........

Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/numberplan.html
    branches/asterisknow/config/scripts/tooltip.js
    branches/asterisknow/todo.txt

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Jul 31 18:08:05 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1267
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1267,1279

Modified: branches/asterisknow/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/numberplan.html?view=diff&rev=1281&r1=1280&r2=1281
==============================================================================
--- branches/asterisknow/config/numberplan.html (original)
+++ branches/asterisknow/config/numberplan.html Tue Jul 31 18:08:05 2007
@@ -29,7 +29,7 @@
 var trunks_desc = { };
 var numplan_callbacks = { };
 var numberplansdata = { };
-var fieldnames = ['cancel', 'delete', 'include', 'name', 'new', 'plancomment', 'save'];
+var fieldnames = ['cancel', 'delete', 'include', 'name', 'new', 'plancomment', 'save', 'parked'];
 
 //var default_numberplan = 0;
 var isnewrule ;
@@ -38,6 +38,16 @@
 var pattern_beingedited_priority ;
 var np_oldselect;
 
+function update_parkedcalls() {
+	if(_$("parked").checked) {
+		var uri = build_action('append', 0, _$('extensions').value, "include", "parkedcalls");   	
+		makerequest('u', 'extensions.conf', uri, function(t) { return true;});
+	} 
+	if(!_$("parked").checked) {
+		var uri = build_action('delete', 0, _$('extensions').value, "include", "", "parkedcalls");   	
+		makerequest('u', 'extensions.conf', uri, function(t) { return true;});
+	}
+}
 function basicpattern(){
 	iscustom = false;
 	_$('define_advanced').style.display="none";
@@ -614,6 +624,7 @@
 		<CENTER><select id="extensions" class="input9" style="z-index:2"></select>&nbsp;&nbsp;
 			<a href="#" class="splbutton" onclick="newnumberplan()" tip="en,callingrules,0">new</a>&nbsp;&nbsp;
 			<a href="#" class="splbutton" onclick="delete_numberplan()"  tip="en,callingrules,1">delete</a>
+			<input class="splbutton" type="checkbox" tip="en,callingrules,10" id="parked" onChange="update_parkedcalls();">Allow Parked Calls</input> 
 			<input id='new' value='New' type="button"  style="display:none">
 			<input id='delete' value='Delete' type="button"  style="display:none">
 			

Modified: branches/asterisknow/config/scripts/tooltip.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/tooltip.js?view=diff&rev=1281&r1=1280&r2=1281
==============================================================================
--- branches/asterisknow/config/scripts/tooltip.js (original)
+++ branches/asterisknow/config/scripts/tooltip.js Tue Jul 31 18:08:05 2007
@@ -281,6 +281,7 @@
 	tooltips['callingrules'].en[7] = "<B>Dialing Rules:</B> Ex: If the number begins with <I>'256'</I> and followed by <I>7</I> digits <i>or more</I>";
 	tooltips['callingrules'].en[8] = "<B>Custom Pattern:</B> Ex:  _91NXXNXXXXXX ";
 	tooltips['callingrules'].en[9] = "Ex: Strip <i>1</i> digits from the front and prepend <i>256</i> before dialing";
+	tooltips['callingrules'].en[10] = "Parked Calls: Check if you want to be able to access the parking lot from this Number Plan";
 
 	// Tooltips for Incoming Calls (incoming)
 	tooltips['incoming']= new Object;

Modified: branches/asterisknow/todo.txt
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/todo.txt?view=diff&rev=1281&r1=1280&r2=1281
==============================================================================
--- branches/asterisknow/todo.txt (original)
+++ branches/asterisknow/todo.txt Tue Jul 31 18:08:05 2007
@@ -22,8 +22,6 @@
 * Directory management - A printable sheet of users and numbers
   (For the time being you can create an IVR and use the directory option )
 
-* Agent logout Extension
-
 *  it would be very usefull, to define the max time a client can be in the queue.. so we can put a voice telling "Please leva a meesage we will cal you back" in a vm..   or something like that :) -- killfill on irc
 
 * Finish multiple language support (lang.js) 
@@ -46,8 +44,6 @@
 
 * Make sure all settings and configuration for the ITSPs are included in the setup wizards service providers page
 
-* To fix call parking, give it an option to allow if the user wants people to be able to access the parking lot per numberplan
-
 * Ability to download config backup files and restore them via file uploads
 
 Completed
@@ -65,3 +61,7 @@
 * Make the GUI resolution independent - request from BSD_tech
 
 * Initial support for Bandwidth.com
+
+* Agent logout Extension
+
+* To fix call parking, give it an option to allow if the user wants people to be able to access the parking lot per numberplan




More information about the asterisk-gui-commits mailing list