bkruse: branch aadk r1282 - in /branches/aadk: ./ config/ config/scripts/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Jul 31 18:09:01 CDT 2007
Author: bkruse
Date: Tue Jul 31 18:09:01 2007
New Revision: 1282
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1282
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/aadk/ (props changed)
branches/aadk/config/numberplan.html
branches/aadk/config/scripts/tooltip.js
branches/aadk/todo.txt
Propchange: branches/aadk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Jul 31 18:09:01 2007
@@ -1,1 +1,1 @@
-/trunk:1-430,433-449,489-501,505-506,508-510,512-540,542-557,559,561-577,580-586,588-616,618-767,769-1081,1085,1090,1094,1097,1100,1103,1116,1120,1124
+/trunk:1-430,433-449,489-501,505-506,508-510,512-540,542-557,559,561-577,580-586,588-616,618-767,769-1081,1085,1090,1094,1097,1100,1103,1116,1120,1124,1279
Modified: branches/aadk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/numberplan.html?view=diff&rev=1282&r1=1281&r2=1282
==============================================================================
--- branches/aadk/config/numberplan.html (original)
+++ branches/aadk/config/numberplan.html Tue Jul 31 18:09:01 2007
@@ -23,7 +23,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 ;
@@ -32,6 +32,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";
@@ -627,6 +637,7 @@
<CENTER><select id="extensions" class="input9" style="z-index:2"></select>
<a href="#" class="splbutton" onclick="newnumberplan()" tip="en,callingrules,0">new</a>
<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/aadk/config/scripts/tooltip.js
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/scripts/tooltip.js?view=diff&rev=1282&r1=1281&r2=1282
==============================================================================
--- branches/aadk/config/scripts/tooltip.js (original)
+++ branches/aadk/config/scripts/tooltip.js Tue Jul 31 18:09:01 2007
@@ -279,6 +279,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/aadk/todo.txt
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/todo.txt?view=diff&rev=1282&r1=1281&r2=1282
==============================================================================
--- branches/aadk/todo.txt (original)
+++ branches/aadk/todo.txt Tue Jul 31 18:09:01 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)
@@ -35,8 +33,6 @@
* In addition to build_action, if you are updating an extension, be able to easily add application specific parameteres
* Add full support for bandwidth.com through the 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
Completed
@@ -54,3 +50,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