pari: trunk r1056 - in /trunk/config: callparking.html cfgbasic.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Wed Jun 6 18:56:02 MST 2007
Author: pari
Date: Wed Jun 6 20:56:01 2007
New Revision: 1056
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1056
Log:
Call Parking Preferences
Added:
trunk/config/callparking.html
Modified:
trunk/config/cfgbasic.html
Added: trunk/config/callparking.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/callparking.html?view=auto&rev=1056
==============================================================================
--- trunk/config/callparking.html (added)
+++ trunk/config/callparking.html Wed Jun 6 20:56:01 2007
@@ -1,0 +1,89 @@
+<!--
+ * Asterisk-GUI - an Asterisk configuration interface
+ *
+ * Call Parking Preferences
+ *
+ * Copyright (C) 2006-2007, Digium, Inc.
+ *
+ * Pari Nannapaneni <pari at digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ *
+-->
+<script src="scripts/prototype.js"></script>
+<script src="scripts/astman.js"></script>
+<script src="scripts/tooltip.js"></script>
+<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
+<script>
+var phonecallbacks = new Object;
+var widgets = {};
+var fieldnames = ['save','cancel','parkext','parkpos','parkingtime','pickupexten','atxfernoanswertimeout'];
+
+phonecallbacks.format = function(t) {
+ if(t.name.match('general'))
+ return t.name;
+ else
+ return false;
+}
+
+phonecallbacks.postselect = function(box, val) {
+
+}
+
+phonecallbacks.loaded = function() {
+ parent.loadscreen(this);
+ $('hiddenfield').selectitem(0);
+
+}
+
+function localajaxinit(){
+ setWindowTitle("Call Parking");
+ for (var x =0; x< fieldnames.length; x++ ) {
+ widgets[fieldnames[x]] = $(fieldnames[x]);
+ widgets[fieldnames[x]].disabled = true;
+ }
+ parent.astmanEngine.config2list("features.conf", $('hiddenfield'), widgets, phonecallbacks);
+ return;
+}
+
+</script>
+<body id="foo" onload="localajaxinit()" bgcolor="EFEFEF">
+<div class="mainscreenTitleBar">
+ <span style="margin-left: 4px;font-weight:bold;">Call Parking Preferences</span>
+ <span style="cursor: pointer; cursor: hand;" onclick="window.location.href=window.location.href;" > <img src="images/refresh.png" title=" Refresh " border=0 > </span>
+</div>
+<div class="mainscreenContentBox" id="userscontent">
+ <select id="hiddenfield" style="display:none"></select>
+ <BR>
+ <table align="center" cellpadding=2 cellspacing=2 border=0>
+ <tr> <td align=right>Extension to Dial for Parking Calls:</td>
+ <td> <input size=4 type='text' id='parkext' class="input8"></td>
+ </tr>
+ <tr> <td align=right>What extensions to park calls on:</td>
+ <td> <input size=10 type='text' id='parkpos' class="input8" dfalt=""> (Ex: '701-720')</td>
+ </tr>
+ <tr> <td align=right>Number of seconds a call can be parked for:</td>
+ <td> <input size=2 type='text' id='parkingtime' class="input8" dfalt="45"></td>
+ </tr>
+ <tr> <td align=right>Pickup Extension:</td>
+ <td> <input size=2 type='text' id='pickupexten' class="input8" dfalt="*8"></td>
+ </tr>
+ <tr> <td align=right>Timeout for answer on attended transfer:</td>
+ <td> <input size=2 type='text' id='atxfernoanswertimeout' class="input8" dfalt="15"></td>
+ </tr>
+ <tr><td colspan=2 align=center height=40 valign=bottom>
+ <input type='button' id='save' value='Save' class="buttonbold">
+ <input type='button' id='cancel' value='Cancel' class="buttonbold">
+ </td>
+ </tr>
+ </table>
+</div>
+</body>
Modified: trunk/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgbasic.html?view=diff&rev=1056&r1=1055&r2=1056
==============================================================================
--- trunk/config/cfgbasic.html (original)
+++ trunk/config/cfgbasic.html Wed Jun 6 20:56:01 2007
@@ -167,6 +167,7 @@
newpanel( ["Incoming Calls", "incoming.html", "Define how your incoming calls should be handled & configure DID (Direct inward Dialing)"]);
newpanel( ["Voice Menus", "menus.html", "Menus allow for more efficient routing of calls from incoming callers. Also known as IVR (Interactive Voice Response) menus or Digital Receptionist"]);
newpanel( ["Time Based Rules", "timerules.html", "define call routing rules based on date and time"]);
+ newpanel( ["Call Parking", "callparking.html", "configure call parking features"]);
newpanel( ["Ring Groups", "ringgroups.html", "define RingGroups to dial more than one extension"]);
newpanel( ["Record a Menu", "record.html", "Allows you to record custom voicemenus over a phone"]);
newpanel( ["Active Channels", "status.html", "Monitor active channels."]);
More information about the asterisk-gui-commits
mailing list