rbrindley: branch 2.0 r4909 - /branches/2.0/config/index.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Jun 23 09:46:48 CDT 2009
Author: rbrindley
Date: Tue Jun 23 09:46:45 2009
New Revision: 4909
URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4909
Log:
- Added the following to the Index page
- HTML 4.01 DOCTYPE
- <html>, <head>, <title>, and "Content-Type" <meta>
- moved js to the bottom
Modified:
branches/2.0/config/index.html
Modified: branches/2.0/config/index.html
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/index.html?view=diff&rev=4909&r1=4908&r2=4909
==============================================================================
--- branches/2.0/config/index.html (original)
+++ branches/2.0/config/index.html Tue Jun 23 09:46:45 2009
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C/DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
* Asterisk-GUI - an Asterisk configuration interface
*
@@ -18,315 +19,318 @@
* at the top of the source tree.
*
-->
-<style type="text/css">
-
-</style>
-<link href="stylesheets/cfgbasic.css" media="all" rel="Stylesheet" type="text/css" />
-<script>
-// Store any run time data in this Object - ex: detected platform, has compact flash, FXO/FXS ports, etc etc.
-var sessionData = {
- finishedParsing : false,
- PLATFORM: {
- isAA50 : false, // AA50
- isUpDog : false, //Project Up Dog
- isABE : false, // Asterisk Business Edition
- isOSA : false, // plain OpenSource Asterisk
- // also look at the 'detectPlatform' function below
- isAA50_OEM : false, // sessionData.PLATFORM.isAA50_OEM
- AA50_SKU : '', // sessionData.PLATFORM.AA50_SKU
- isANOW : false, // Asterisk Now
- isAST_1_4 : true, // we assume is Asterisk 1.4 by default, sessionData.PLATFORM.isAST_1_4
- isAST_1_6 : false,
- isAST_1_6_1 : false
- },
-
- AsteriskVersionString : '',
- httpConf: { // store any information from http.conf in this object
- prefix: '',
- postmappings_defined : false,
- uploadPaths:{} // post_mappings
- },
- GUI_PREFERENCES : {}, // sessionData.GUI_PREFERENCES
- fbtimer : 0, // feedback message timer
- cliHistory: [], // Array to store command history from cli page
- isLoggedIn : false,
- continueParsing: false,
- advancedmode: false, // sessionData.advancedmode
- hasCompactFlash : false, // sessionData.hasCompactFlash
- listOfCodecs: { // sessionData.listOfCodecs
- 'ulaw' : 'u-law' ,
- 'alaw' : 'a-law' ,
- 'gsm' : 'GSM' ,
- 'ilbc' : 'ILBC' ,
- 'speex': 'SPEEX' ,
- 'g726' : 'G.726' ,
- 'adpcm': 'ADPCM' ,
- 'lpc10': 'LPC10' ,
- 'g729' : 'G.729' ,
- 'g723' : 'G.723'
- },
- directories:{},// sessionData.directories
- FileCache:{}, // Object to Cache config files .. sessionData.FileCache['users.conf'].content , sessionData.FileCache['users.conf'].modified
- FXO_PORTS_DETECTED : [], // so that we do not have to parse ztscan output each time where we want this list
- // sessionData.FXO_PORTS_DETECTED
- FXS_PORTS_DETECTED : [], // so that we do not have to parse ztscan output each time where we want this list
- // note that the above FXO_PORTS_DETECTED, FXS_PORTS_DETECTED are the actual analog FXS, FXO ports
- // and NOT the channels on a digital span with FXS or FXO signalling
- DEBUG_LOG : [], // all the debug log messages will be stored in this array (If debug mode is enabled)
- DEBUG_MODE : false, // set to true when debugging -- parent.sessionData.DEBUG_MODE
- DEBUG_WHICH: { Ajax: true, Debug: true, Error: true, Console: true, Info: true, Warn: true } , // parent.sessionData.DEBUG_WHICH.Ajax/Debug/Error/Console/Info/Warn
- REQUIRE_RESTART : false, // this flag is used to know if there are any updates in zapchan settings
- // like if a FXS is assigned to a user or an analog trunk is created or something
- // if this flag is true - we want to throw alert 'on ApplySettings' saying that a restart is required
- pbxinfo: {}, //object to store all the pbx configuration, the functions in readcfg (pbx.js) uses this object to store the parsed configuration
- PORTS_SIGNALLING: {
- // object to store signalling of fx(o/s)(k/l)s ports - as read from zaptel.conf,
- // if signalling is not defined for a port, gui will assume 'kewl start' as default
- ks: [], // parent.sessionData.PORTS_SIGNALLING.ks
- ls:[]
- }
-};
-
-</script>
-<script src="js/log.js"></script>
-<script src="js/session.js"></script>
-<script src="js/jquery.js"></script>
-<script src="js/tooltip.js"></script>
-<script src="js/astman.js"></script>
-<script src="js/pbx.js"></script>
-<script src="js/pbx2.js"></script>
-<script src="js/index.js"></script>
+<html>
<head>
<title>Asterisk Configuration GUI</title>
+ <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
<link rel="shortcut icon" href="images/favicon.ico" />
+
+ <link href="stylesheets/cfgbasic.css" media="all" rel="Stylesheet" type="text/css" />
+ <style type="text/css"></style>
</head>
<body topmargin=1 leftmargin=2>
-<div class="header_row">
- <div class="main_logo" id="main_logo">
- <img src="images/digiumlogo.gif" align="left">
- </div>
- <div class="feedback_parent">
- <span id="feedback" class="feedback"></span>
- </div>
- <div class='parentTopButtons' id='ptopbuttons'>
- <span class='button_t1' title='Apply Changes' onClick="miscFunctions.applyChanges()" id='applyChanges_Button' style='display:none;'>Apply Changes</span>
- <span class='button_t1' title='Logout' onClick="miscFunctions.logoutFunction.confirmlogout()">Logout</span>
- </div>
-</div>
-
-<div class="accordionAndActive_div">
- <div id="accordion_div" style='display:none; width: 170px;'>
- <div page='home.html?status=1'>
- <div class="ui-accordion-link">Home</div>
- <div class="ui-accordion-desc">Asterisk Configuration Panel - Please click on a panel to manage related features</div>
+ <div class="header_row">
+ <div class="main_logo" id="main_logo">
+ <img src="images/digiumlogo.gif" align="left">
</div>
- <div page='digital.html'>
- <div class="ui-accordion-link">Configure Hardware</div>
- <div class="ui-accordion-desc">Configure your T1/E1/Analog Cards</div>
+ <div class="feedback_parent">
+ <span id="feedback" class="feedback"></span>
</div>
- <div page='misdn.html' class='notinAA50' style='display:none'>
- <div class="ui-accordion-link">mISDN Config</div>
- <div class="ui-accordion-desc">mISDN configuration from the asterisk GUI</div>
+ <div class='parentTopButtons' id='ptopbuttons'>
+ <span class='button_t1' title='Apply Changes' onClick="miscFunctions.applyChanges()" id='applyChanges_Button' style='display:none;'>Apply Changes</span>
+ <span class='button_t1' title='Logout' onClick="miscFunctions.logoutFunction.confirmlogout()">Logout</span>
</div>
- <div page='trunks_analog.html'>
- <div class="ui-accordion-link">Trunks</div>
- <div class="ui-accordion-desc">Trunks are outbound lines used to allow the system to make calls to the real world. Trunks can be VoIP lines or traditional telephony lines.</div>
+ </div>
+
+ <div class="accordionAndActive_div">
+ <div id="accordion_div" style='display:none; width: 170px;'>
+ <div page='home.html?status=1'>
+ <div class="ui-accordion-link">Home</div>
+ <div class="ui-accordion-desc">Asterisk Configuration Panel - Please click on a panel to manage related features</div>
+ </div>
+ <div page='digital.html'>
+ <div class="ui-accordion-link">Configure Hardware</div>
+ <div class="ui-accordion-desc">Configure your T1/E1/Analog Cards</div>
+ </div>
+ <div page='misdn.html' class='notinAA50' style='display:none'>
+ <div class="ui-accordion-link">mISDN Config</div>
+ <div class="ui-accordion-desc">mISDN configuration from the asterisk GUI</div>
+ </div>
+ <div page='trunks_analog.html'>
+ <div class="ui-accordion-link">Trunks</div>
+ <div class="ui-accordion-desc">Trunks are outbound lines used to allow the system to make calls to the real world. Trunks can be VoIP lines or traditional telephony lines.</div>
+ </div>
+ <div page='callingrules.html'>
+ <div class="ui-accordion-link">Outgoing Calling Rules</div>
+ <div class="ui-accordion-desc">Calling Rules define dialing permissions and routing rules.</div>
+ </div>
+ <div page='dialplans.html'>
+ <div class="ui-accordion-link">Dial Plans</div>
+ <div class="ui-accordion-desc">A DialPlan is a set of 'Calling Rules' that can be assigned to one or more users.</div>
+ </div>
+ <div page='users.html'>
+ <div class="ui-accordion-link">Users</div>
+ <div class="ui-accordion-desc">Users is a shortcut for quickly adding and removing all the necessary configuration components for any new phone.</div>
+ </div>
+ <div page='ringgroups.html'>
+ <div class="ui-accordion-link">Ring Groups</div>
+ <div class="ui-accordion-desc">Define Ringgroups to dial more than one extension simultaneously, or to ring more than one phone sequentially. This feature may also be called Huntgroups.</div>
+ </div>
+ <div page='mohfiles.html'>
+ <div class="ui-accordion-link">Music On Hold</div>
+ <div class="ui-accordion-desc">'Music On Hold' lets you customize audio tracks for different queues, parked calls etc.</div>
+ </div>
+ <div page='queues.html'>
+ <div class="ui-accordion-link">Call Queues</div>
+ <div class="ui-accordion-desc">Call queues allow calls to be sequenced to one or more agents.</div>
+ </div>
+ <div page='menus.html'>
+ <div class="ui-accordion-link">Voice Menus</div>
+ <div class="ui-accordion-desc">Menus allow for more efficient routing of calls from incoming callers. Also known as IVR (Interactive Voice Response) menus or Digital Receptionist.</div>
+ </div>
+ <div page='timeintervals.html'>
+ <div class="ui-accordion-link">Time Intervals</div>
+ <div class="ui-accordion-desc">Time Intervals are defined ranges of time that will be used by call routing features.</div>
+ </div>
+ <div page='incoming.html'>
+ <div class="ui-accordion-link">Incoming Calling Rules</div>
+ <div class="ui-accordion-desc">Create, modify, prioritize and delete incoming call rules based on Time Intervals.</div>
+ </div>
+ <div page='voicemail.html'>
+ <div class="ui-accordion-link">Voicemail</div>
+ <div class="ui-accordion-desc">General settings for voicemail.</div>
+ </div>
+ <div page='paging.html'>
+ <div class="ui-accordion-link">Paging/Intercom</div>
+ <div class="ui-accordion-desc">Set up 1-Way Paging or 2-Way Intercom for calling individial or group of extensions</div>
+ </div>
+ <div page='meetme.html'>
+ <div class="ui-accordion-link">Conferencing</div>
+ <div class="ui-accordion-desc">MeetMe conference bridging allows quick, ad-hoc conferences with or without security.</div>
+ </div>
+ <div page='followme.html'>
+ <div class="ui-accordion-link">Follow Me</div>
+ <div class="ui-accordion-desc"></div>
+ </div>
+ <div page='gtalk.html' style='display:none'>
+ <div class="ui-accordion-link">Google Talk</div>
+ <div class="ui-accordion-desc">Send or Receive calls from your buddies on Google Talk network</div>
+ </div>
+ <div page='skype.html' style='display:none'>
+ <div class="ui-accordion-link">Skype</div>
+ <div class="ui-accordion-desc">Send or Receive calls from your buddies on Skype network</div>
+ </div>
+ <div page='directory.html'>
+ <div class="ui-accordion-link">Directory</div>
+ <div class="ui-accordion-desc">Preferences for 'Dialing by Name Directory'</div>
+ </div>
+ <div page='features.html'>
+ <div class="ui-accordion-link">Call Features</div>
+ <div class="ui-accordion-desc">Feature Codes and Call parking preferences</div>
+ </div>
+ <div page='vmgroups.html'>
+ <div class="ui-accordion-link">VoiceMail Groups</div>
+ <div class="ui-accordion-desc">Define 'VoiceMail Groups' to leave a voicemail message for a group of users by dialing an extension.</div>
+ </div>
+ <div page='menuprompts_record.html'>
+ <div class="ui-accordion-link">Voice Menu Prompts</div>
+ <div class="ui-accordion-desc">Record or Upload custom VoiceMenu prompts.</div>
+ </div>
+ <div page='sysinfo.html'>
+ <div class="ui-accordion-link">System Info</div>
+ <div class="ui-accordion-desc">System Information.</div>
+ </div>
+ <div page='networking.html' class='forAA50'>
+ <div class="ui-accordion-link">Networking</div>
+ <div class="ui-accordion-desc">Configures networking parameters.</div>
+ </div>
+ <div page='registerg729.html' style='display:none'>
+ <div class="ui-accordion-link">G.729 Codec</div>
+ <div class="ui-accordion-desc">Register & Manage your G.729 Codec License Keys</div>
+ </div>
+ <div page='backup.html'>
+ <div class="ui-accordion-link">Backup</div>
+ <div class="ui-accordion-desc">Backup Management.</div>
+ </div>
+ <div page='flashupdate.html' class='forAA50'>
+ <div class="ui-accordion-link">Update</div>
+ <div class="ui-accordion-desc">Update Firmware installed on the appliance.</div>
+ </div>
+ <div page='upload_abe_overlay.html' class='default_Hidden' style='display:none'>
+ <div class="ui-accordion-link">Update</div>
+ <div class="ui-accordion-desc">Upload a GUI overlay file.</div>
+ </div>
+ <div page='preferences.html'>
+ <div class="ui-accordion-link">Options</div>
+ <div class="ui-accordion-desc">Admin Settings.</div>
+ </div>
+ <div page='asterisklogs.html' class='notinAA50'>
+ <div class="ui-accordion-link">Asterisk Logs</div>
+ <div class="ui-accordion-desc">Asterisk Log messages.</div>
+ </div>
+ <div page='cdr.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">Call Detail Records <sup><font color=#fffc31><b>beta</b></font></sup></div>
+ <div class="ui-accordion-desc">Read all your records from Asterisk.</div>
+ </div>
+ <div page='status.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">Active Channels <sup><font color=#fffc31><b>beta</b></font></sup></div>
+ <div class="ui-accordion-desc">Displays current Active Channels on the PBX, with the options to Hangup or Transfer.</div>
+ </div>
+ <div page='bulkadd.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">Bulk Add <sup><font color=#fffc31><b>beta</b></font></sup></div>
+ <div class="ui-accordion-desc">Add multiple users to the system in one easy step - import from a csv file OR create a range of extensions.</div>
+ </div>
+ <div page='feditor.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">File Editor</div>
+ <div class="ui-accordion-desc">Edit Asterisk Config files</div>
+ </div>
+ <div page='cli.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">Asterisk CLI</div>
+ <div class="ui-accordion-desc">Asterisk Command Line Interface</div>
+ </div>
+ <div page='iax.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">IAX Settings</div>
+ <div class="ui-accordion-desc">Global IAX Settings.</div>
+ </div>
+ <div page='sip.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">SIP Settings</div>
+ <div class="ui-accordion-desc">Global SIP Settings.</div>
+ </div>
+ <!--<div page='cdr.html' class='notinAA50'>
+ <div class="ui-accordion-link">CDRs</div>
+ <div class="ui-accordion-desc">Access all your previous call records.</div>
+ </div>-->
+ <!--
+ <div page='monitor.html'>
+ <div class="ui-accordion-link">Active Calls</div>
+ <div class="ui-accordion-desc">Monitor active calls</div>
+ </div>
+ -->
</div>
- <div page='callingrules.html'>
- <div class="ui-accordion-link">Outgoing Calling Rules</div>
- <div class="ui-accordion-desc">Calling Rules define dialing permissions and routing rules.</div>
- </div>
- <div page='dialplans.html'>
- <div class="ui-accordion-link">Dial Plans</div>
- <div class="ui-accordion-desc">A DialPlan is a set of 'Calling Rules' that can be assigned to one or more users.</div>
- </div>
- <div page='users.html'>
- <div class="ui-accordion-link">Users</div>
- <div class="ui-accordion-desc">Users is a shortcut for quickly adding and removing all the necessary configuration components for any new phone.</div>
- </div>
- <div page='ringgroups.html'>
- <div class="ui-accordion-link">Ring Groups</div>
- <div class="ui-accordion-desc">Define Ringgroups to dial more than one extension simultaneously, or to ring more than one phone sequentially. This feature may also be called Huntgroups.</div>
- </div>
- <div page='mohfiles.html'>
- <div class="ui-accordion-link">Music On Hold</div>
- <div class="ui-accordion-desc">'Music On Hold' lets you customize audio tracks for different queues, parked calls etc.</div>
- </div>
- <div page='queues.html'>
- <div class="ui-accordion-link">Call Queues</div>
- <div class="ui-accordion-desc">Call queues allow calls to be sequenced to one or more agents.</div>
- </div>
- <div page='menus.html'>
- <div class="ui-accordion-link">Voice Menus</div>
- <div class="ui-accordion-desc">Menus allow for more efficient routing of calls from incoming callers. Also known as IVR (Interactive Voice Response) menus or Digital Receptionist.</div>
- </div>
- <div page='timeintervals.html'>
- <div class="ui-accordion-link">Time Intervals</div>
- <div class="ui-accordion-desc">Time Intervals are defined ranges of time that will be used by call routing features.</div>
- </div>
- <div page='incoming.html'>
- <div class="ui-accordion-link">Incoming Calling Rules</div>
- <div class="ui-accordion-desc">Create, modify, prioritize and delete incoming call rules based on Time Intervals.</div>
- </div>
- <div page='voicemail.html'>
- <div class="ui-accordion-link">Voicemail</div>
- <div class="ui-accordion-desc">General settings for voicemail.</div>
- </div>
- <div page='paging.html'>
- <div class="ui-accordion-link">Paging/Intercom</div>
- <div class="ui-accordion-desc">Set up 1-Way Paging or 2-Way Intercom for calling individial or group of extensions</div>
- </div>
- <div page='meetme.html'>
- <div class="ui-accordion-link">Conferencing</div>
- <div class="ui-accordion-desc">MeetMe conference bridging allows quick, ad-hoc conferences with or without security.</div>
- </div>
- <div page='followme.html'>
- <div class="ui-accordion-link">Follow Me</div>
- <div class="ui-accordion-desc"></div>
- </div>
- <div page='gtalk.html' style='display:none'>
- <div class="ui-accordion-link">Google Talk</div>
- <div class="ui-accordion-desc">Send or Receive calls from your buddies on Google Talk network</div>
- </div>
- <div page='skype.html' style='display:none'>
- <div class="ui-accordion-link">Skype</div>
- <div class="ui-accordion-desc">Send or Receive calls from your buddies on Skype network</div>
- </div>
- <div page='directory.html'>
- <div class="ui-accordion-link">Directory</div>
- <div class="ui-accordion-desc">Preferences for 'Dialing by Name Directory'</div>
- </div>
- <div page='features.html'>
- <div class="ui-accordion-link">Call Features</div>
- <div class="ui-accordion-desc">Feature Codes and Call parking preferences</div>
- </div>
- <div page='vmgroups.html'>
- <div class="ui-accordion-link">VoiceMail Groups</div>
- <div class="ui-accordion-desc">Define 'VoiceMail Groups' to leave a voicemail message for a group of users by dialing an extension.</div>
- </div>
- <div page='menuprompts_record.html'>
- <div class="ui-accordion-link">Voice Menu Prompts</div>
- <div class="ui-accordion-desc">Record or Upload custom VoiceMenu prompts.</div>
- </div>
- <div page='sysinfo.html'>
- <div class="ui-accordion-link">System Info</div>
- <div class="ui-accordion-desc">System Information.</div>
- </div>
- <div page='networking.html' class='forAA50'>
- <div class="ui-accordion-link">Networking</div>
- <div class="ui-accordion-desc">Configures networking parameters.</div>
- </div>
- <div page='registerg729.html' style='display:none'>
- <div class="ui-accordion-link">G.729 Codec</div>
- <div class="ui-accordion-desc">Register & Manage your G.729 Codec License Keys</div>
- </div>
- <div page='backup.html'>
- <div class="ui-accordion-link">Backup</div>
- <div class="ui-accordion-desc">Backup Management.</div>
- </div>
- <div page='flashupdate.html' class='forAA50'>
- <div class="ui-accordion-link">Update</div>
- <div class="ui-accordion-desc">Update Firmware installed on the appliance.</div>
- </div>
- <div page='upload_abe_overlay.html' class='default_Hidden' style='display:none'>
- <div class="ui-accordion-link">Update</div>
- <div class="ui-accordion-desc">Upload a GUI overlay file.</div>
- </div>
- <div page='preferences.html'>
- <div class="ui-accordion-link">Options</div>
- <div class="ui-accordion-desc">Admin Settings.</div>
- </div>
- <div page='asterisklogs.html' class='notinAA50'>
- <div class="ui-accordion-link">Asterisk Logs</div>
- <div class="ui-accordion-desc">Asterisk Log messages.</div>
- </div>
- <div page='cdr.html' class='AdvancedMode'>
- <div class="ui-accordion-link">Call Detail Records <sup><font color=#fffc31><b>beta</b></font></sup></div>
- <div class="ui-accordion-desc">Read all your records from Asterisk.</div>
- </div>
- <div page='status.html' class='AdvancedMode'>
- <div class="ui-accordion-link">Active Channels <sup><font color=#fffc31><b>beta</b></font></sup></div>
- <div class="ui-accordion-desc">Displays current Active Channels on the PBX, with the options to Hangup or Transfer.</div>
- </div>
- <div page='bulkadd.html' class='AdvancedMode'>
- <div class="ui-accordion-link">Bulk Add <sup><font color=#fffc31><b>beta</b></font></sup></div>
- <div class="ui-accordion-desc">Add multiple users to the system in one easy step - import from a csv file OR create a range of extensions.</div>
- </div>
- <div page='feditor.html' class='AdvancedMode'>
- <div class="ui-accordion-link">File Editor</div>
- <div class="ui-accordion-desc">Edit Asterisk Config files</div>
- </div>
- <div page='cli.html' class='AdvancedMode'>
- <div class="ui-accordion-link">Asterisk CLI</div>
- <div class="ui-accordion-desc">Asterisk Command Line Interface</div>
- </div>
- <div page='iax.html' class='AdvancedMode'>
- <div class="ui-accordion-link">IAX Settings</div>
- <div class="ui-accordion-desc">Global IAX Settings.</div>
- </div>
- <div page='sip.html' class='AdvancedMode'>
- <div class="ui-accordion-link">SIP Settings</div>
- <div class="ui-accordion-desc">Global SIP Settings.</div>
- </div>
- <!--<div page='cdr.html' class='notinAA50'>
- <div class="ui-accordion-link">CDRs</div>
- <div class="ui-accordion-desc">Access all your previous call records.</div>
- </div>-->
- <!--
- <div page='monitor.html'>
- <div class="ui-accordion-link">Active Calls</div>
- <div class="ui-accordion-desc">Monitor active calls</div>
- </div>
- -->
- </div>
- <div id="ACTIVE_CONTENT"><noscript>You need to enable Javascript in your browser !!</noscript></div>
-</div>
-
-<div class="copyrights">
- Copyright 2006-2009 Digium, Inc. Digium and Asterisk are registered <a href="http://www.digium.com/en/company/view-policy.php?id=Trademark-Policy" target='_blank'>trademarks</a> of
- Digium, Inc. All Rights Reserved. <i><a href="http://www.digium.com/en/company/policies.php" target="_blank" id='mainPageLegaInfo_A'>Legal Information</a></i>
- <div id='parent_div_guiVersion'></div>
-</div>
-
-<div id='ajaxstatus' style='display:none;'>Loading..</div>
-
-<div class="debugWindow">
- <table cellpadding=2 cellspacing=2 border=0 width="100%">
- <tr> <td align=left>
- <span id="dbw_flip" class='dbw_flip_show'>Hide debug messages</span>
- </td>
- <td align=right>
- <input type='checkbox' id='debugWindow_which_Ajax'>
- <label for='debugWindow_which_Ajax'> Ajax Requests </label>
-
- <input type='checkbox' id='debugWindow_which_Debug'>
- <label for='debugWindow_which_Debug'> Debug </label>
-
- <input type='checkbox' id='debugWindow_which_Error'>
- <label for='debugWindow_which_Error'> Error </label>
-
- <input type='checkbox' id='debugWindow_which_Console'>
- <label for='debugWindow_which_Console'> Console </label>
-
- <input type='checkbox' id='debugWindow_which_Info'>
- <label for='debugWindow_which_Info'> Info </label>
-
- <input type='checkbox' id='debugWindow_which_Warnings'>
- <label for='debugWindow_which_Warnings'> Warnings </label>
-
- <span class='guiButton' onclick='miscFunctions.DEBUG_CLEAR();'>Clear</span>
- </td>
- </tr>
- </table>
- <div id="debug_messages" style="clear: both;"></div>
-</div>
-
-<iframe border="0" marginheight="0" marginwidth="0" id="mainscreen" style="position: absolute;" frameborder="0" scrolling="auto" width="800"></iframe>
-
-<div id="noResponseFromServer" style="display:none; width:100%; height:100%; ">
- Could not connect to Server
- <div style='margin-top: 20px'>
- <span class='button_t1' onclick='onLogInFunctions.makePings.makeRetryPing();'> Retry </span>
- <div>
-</div>
+ <div id="ACTIVE_CONTENT"><noscript>You need to enable Javascript in your browser !!</noscript></div>
+ </div>
+
+ <div class="copyrights">
+ Copyright 2006-2009 Digium, Inc. Digium and Asterisk are registered <a href="http://www.digium.com/en/company/view-policy.php?id=Trademark-Policy" target='_blank'>trademarks</a> of
+ Digium, Inc. All Rights Reserved. <i><a href="http://www.digium.com/en/company/policies.php" target="_blank" id='mainPageLegaInfo_A'>Legal Information</a></i>
+ <div id='parent_div_guiVersion'></div>
+ </div>
+
+ <div id='ajaxstatus' style='display:none;'>Loading..</div>
+
+ <div class="debugWindow">
+ <table cellpadding=2 cellspacing=2 border=0 width="100%">
+ <tr> <td align=left>
+ <span id="dbw_flip" class='dbw_flip_show'>Hide debug messages</span>
+ </td>
+ <td align=right>
+ <input type='checkbox' id='debugWindow_which_Ajax'>
+ <label for='debugWindow_which_Ajax'> Ajax Requests </label>
+
+ <input type='checkbox' id='debugWindow_which_Debug'>
+ <label for='debugWindow_which_Debug'> Debug </label>
+
+ <input type='checkbox' id='debugWindow_which_Error'>
+ <label for='debugWindow_which_Error'> Error </label>
+
+ <input type='checkbox' id='debugWindow_which_Console'>
+ <label for='debugWindow_which_Console'> Console </label>
+
+ <input type='checkbox' id='debugWindow_which_Info'>
+ <label for='debugWindow_which_Info'> Info </label>
+
+ <input type='checkbox' id='debugWindow_which_Warnings'>
+ <label for='debugWindow_which_Warnings'> Warnings </label>
+
+ <span class='guiButton' onclick='miscFunctions.DEBUG_CLEAR();'>Clear</span>
+ </td>
+ </tr>
+ </table>
+ <div id="debug_messages" style="clear: both;"></div>
+ </div>
+
+ <iframe border="0" marginheight="0" marginwidth="0" id="mainscreen" style="position: absolute;" frameborder="0" scrolling="auto" width="800"></iframe>
+
+ <div id="noResponseFromServer" style="display:none; width:100%; height:100%; ">
+ Could not connect to Server
+ <div style='margin-top: 20px'>
+ <span class='button_t1' onclick='onLogInFunctions.makePings.makeRetryPing();'> Retry </span>
+ <div>
+ </div>
+
+ <script src="js/log.js"></script>
+ <script src="js/session.js"></script>
+ <script src="js/jquery.js"></script>
+ <script src="js/tooltip.js"></script>
+ <script src="js/astman.js"></script>
+ <script src="js/pbx.js"></script>
+ <script src="js/pbx2.js"></script>
+ <script src="js/index.js"></script>
+ <script>
+ // Store any run time data in this Object - ex: detected platform, has compact flash, FXO/FXS ports, etc etc.
+ var sessionData = {
+ finishedParsing : false,
+ PLATFORM: {
+ isAA50 : false, // AA50
+ isUpDog : false, //Project Up Dog
+ isABE : false, // Asterisk Business Edition
+ isOSA : false, // plain OpenSource Asterisk
+ // also look at the 'detectPlatform' function below
+ isAA50_OEM : false, // sessionData.PLATFORM.isAA50_OEM
+ AA50_SKU : '', // sessionData.PLATFORM.AA50_SKU
+ isANOW : false, // Asterisk Now
+ isAST_1_4 : true, // we assume is Asterisk 1.4 by default, sessionData.PLATFORM.isAST_1_4
+ isAST_1_6 : false,
+ isAST_1_6_1 : false
+ },
+
+ AsteriskVersionString : '',
+ httpConf: { // store any information from http.conf in this object
+ prefix: '',
+ postmappings_defined : false,
+ uploadPaths:{} // post_mappings
+ },
+ GUI_PREFERENCES : {}, // sessionData.GUI_PREFERENCES
+ fbtimer : 0, // feedback message timer
+ cliHistory: [], // Array to store command history from cli page
+ isLoggedIn : false,
+ continueParsing: false,
+ advancedmode: false, // sessionData.advancedmode
+ hasCompactFlash : false, // sessionData.hasCompactFlash
+ listOfCodecs: { // sessionData.listOfCodecs
+ 'ulaw' : 'u-law' ,
+ 'alaw' : 'a-law' ,
+ 'gsm' : 'GSM' ,
+ 'ilbc' : 'ILBC' ,
+ 'speex': 'SPEEX' ,
+ 'g726' : 'G.726' ,
+ 'adpcm': 'ADPCM' ,
+ 'lpc10': 'LPC10' ,
+ 'g729' : 'G.729' ,
+ 'g723' : 'G.723'
+ },
+ directories:{},// sessionData.directories
+ FileCache:{}, // Object to Cache config files .. sessionData.FileCache['users.conf'].content , sessionData.FileCache['users.conf'].modified
+ FXO_PORTS_DETECTED : [], // so that we do not have to parse ztscan output each time where we want this list
+ // sessionData.FXO_PORTS_DETECTED
+ FXS_PORTS_DETECTED : [], // so that we do not have to parse ztscan output each time where we want this list
+ // note that the above FXO_PORTS_DETECTED, FXS_PORTS_DETECTED are the actual analog FXS, FXO ports
+ // and NOT the channels on a digital span with FXS or FXO signalling
+ DEBUG_LOG : [], // all the debug log messages will be stored in this array (If debug mode is enabled)
+ DEBUG_MODE : false, // set to true when debugging -- parent.sessionData.DEBUG_MODE
+ DEBUG_WHICH: { Ajax: true, Debug: true, Error: true, Console: true, Info: true, Warn: true } , // parent.sessionData.DEBUG_WHICH.Ajax/Debug/Error/Console/Info/Warn
+ REQUIRE_RESTART : false, // this flag is used to know if there are any updates in zapchan settings
+ // like if a FXS is assigned to a user or an analog trunk is created or something
+ // if this flag is true - we want to throw alert 'on ApplySettings' saying that a restart is required
+ pbxinfo: {}, //object to store all the pbx configuration, the functions in readcfg (pbx.js) uses this object to store the parsed configuration
+ PORTS_SIGNALLING: {
+ // object to store signalling of fx(o/s)(k/l)s ports - as read from zaptel.conf,
+ // if signalling is not defined for a port, gui will assume 'kewl start' as default
+ ks: [], // parent.sessionData.PORTS_SIGNALLING.ks
+ ls:[]
+ }
+ };
+
+ </script>
</body>
+</html>
More information about the asterisk-gui-commits
mailing list