pari: branch pari/dahdi_support r4369 - in /team/pari/dahdi_support/config: ....
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Dec 18 14:29:01 CST 2008
Author: pari
Date: Thu Dec 18 14:29:00 2008
New Revision: 4369
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4369
Log:
Getting rid of misdn,
The hardware page will have this functionality.
Removed:
team/pari/dahdi_support/config/misdn.html
Modified:
team/pari/dahdi_support/config/hardware.html
team/pari/dahdi_support/config/index.html
team/pari/dahdi_support/config/js/hardware.js
Modified: team/pari/dahdi_support/config/hardware.html
URL: http://svn.digium.com/view/asterisk-gui/team/pari/dahdi_support/config/hardware.html?view=diff&rev=4369&r1=4368&r2=4369
==============================================================================
--- team/pari/dahdi_support/config/hardware.html (original)
+++ team/pari/dahdi_support/config/hardware.html Thu Dec 18 14:29:00 2008
@@ -118,9 +118,7 @@
<div class="pageheading">Analog Hardware</div>
<div style="overflow:auto;left:40">
- <table id="FXSFXO_ports_td" cellpadding=5 cellspacing=1 align=center border=0 class='taglist' width=480>
-
- </table>
+ <table id="FXSFXO_ports_td" cellpadding=5 cellspacing=1 align=center border=0 class='taglist' width=480></table>
</div>
<div>
@@ -183,7 +181,6 @@
<div class="pageheading">Advanced Settings</div>
<table align=center>
-
<tr> <td align=right>Module Name : </td>
<td> <input id="zap_moduleName" dfalt='wctdm24xxp' size=10></td>
</tr>
Modified: team/pari/dahdi_support/config/index.html
URL: http://svn.digium.com/view/asterisk-gui/team/pari/dahdi_support/config/index.html?view=diff&rev=4369&r1=4368&r2=4369
==============================================================================
--- team/pari/dahdi_support/config/index.html (original)
+++ team/pari/dahdi_support/config/index.html Thu Dec 18 14:29:00 2008
@@ -119,10 +119,6 @@
<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'>
- <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>
Modified: team/pari/dahdi_support/config/js/hardware.js
URL: http://svn.digium.com/view/asterisk-gui/team/pari/dahdi_support/config/js/hardware.js?view=diff&rev=4369&r1=4368&r2=4369
==============================================================================
--- team/pari/dahdi_support/config/js/hardware.js (original)
+++ team/pari/dahdi_support/config/js/hardware.js Thu Dec 18 14:29:00 2008
@@ -19,7 +19,7 @@
*
*/
var MODULE_NAME = 'wctdm24xxp';
-var DRIVERS_LIST = [ 'tor2', 'wcfxo', 'wct1xxp', 'wct4xxp', 'wctc4xxp', 'wctdm24xxp', 'wctdm', 'wcte11xp', 'wcte12xp', 'wcusb', 'xpp_usb' ];
+var DRIVERS_LIST = [ 'tor2','wcb4xxp', 'wcfxo', 'wct1xxp', 'wct4xxp', 'wctc4xxp', 'wctdm24xxp', 'wctdm', 'wcte11xp', 'wcte12xp', 'wcusb', 'xpp_usb' ];
var SPANS = {};
@@ -96,7 +96,7 @@
};
-function detectHwChanges(){ // compare DETECTEDHARDWARE vs CONFIGUREDHARDWARE
+var detectHwChanges = function(){ // compare DETECTEDHARDWARE vs CONFIGUREDHARDWARE
// returns true if a hardware change is detected and false if there are no hardware changes
// we can actually check a lot of things here like
// [A] check if - any cards are missing
@@ -140,13 +140,13 @@
ASTGUI.Log.Debug("DEVICES or basechans does not MATCHED");
return true;
}
-}
-
-
-
-
-
-function verify_priChLimit(){
+};
+
+
+
+
+
+var verify_priChLimit = function(){
var l = String(CURRENT_SPAN);
if( !_$('editspan_signalling').value.beginsWith('pri')){ return true;}
var y = Number(_$('edit_DefinedChans').value);
@@ -155,7 +155,7 @@
return true;
};
-function calc_bchan_fxx(l){ // calculates the bchan,and fxx strings for a given span
+var calc_bchan_fxx = function(l){ // calculates the bchan,and fxx strings for a given span
var y = Number(SPANS[l]['min_ch']);
var z = Number(SPANS[l]['definedchans']);
if(z==1){return String(y);}
@@ -177,7 +177,7 @@
}
-function canelSpanInfo(){
+var canelSpanInfo = function(){
_$('edit_span').style.display = "none";
ASTGUI.showbg(false);
CURRENT_SPAN = null;
@@ -250,7 +250,7 @@
};
-function showtable(){ // navigates through the SPANS object and presents as a table to the user
+var showtable = function(){ // navigates through the SPANS object and presents as a table to the user
var keepalert = false ;
try{
var tbl = _$('digitalcardstable') ;
@@ -330,7 +330,7 @@
parent.ASTGUI.dialog.hide();
}
}
-}
+};
var loadConfigFiles = {
@@ -574,7 +574,7 @@
}
};
-function disablEnable_sc() {
+var disablEnable_sc = function(){
if( !_$('editspan_signalling').value.beginsWith('pri') ){
_$('editspan_switchtype').disabled = true;
_$('editspan_switchtype').selectedIndex = -1;
@@ -590,11 +590,10 @@
if(_$('edit_DefinedChans').selectedIndex == 23 ){ _$('edit_DefinedChans').selectedIndex = 22 ; }
}
}
-
return true;
-}
-
-function updateSpanInfo(){
+};
+
+var updateSpanInfo = function(){
if( !verify_priChLimit() ){
alert("You should leave atleast one channel for signalling.");
return true;
@@ -613,7 +612,6 @@
}
var b = String(CURRENT_SPAN);
-
if( _$('editspan_fac').value == 'CCS/CRC4/HDB3' ){
SPANS[b]['framing'] = 'CCS/CRC4';
SPANS[b]['coding'] = 'HDB3';
@@ -630,7 +628,7 @@
_$('row'+ b).style.background = "#C9AAAA";
canelSpanInfo();
-}
+};
@@ -1019,13 +1017,13 @@
};
-function applyDigitalSettings(){
+var applyDigitalSettings = function(){
// write to applyzap.conf - generate new applyzap.conf
// write to users.conf - update [spans_x] contexts
// call the asterisk_guiEditZap - which will generate zaptel.conf from applyzap.conf
ASTGUI.showbg(true);
applySettings.updateZaptel();
-}
+};
var localajaxinit = function(){
@@ -1177,4 +1175,4 @@
loadConfigFiles.load_hwcfgfile(); // try to load last detected/configured hardware information
});
-}
+};
More information about the asterisk-gui-commits
mailing list