pari: branch 2.0 r3784 - /branches/2.0/config/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Sep 9 12:05:17 CDT 2008


Author: pari
Date: Tue Sep  9 12:05:17 2008
New Revision: 3784

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3784
Log:

 List digital trunks in the System Status page



Modified:
    branches/2.0/config/trunks_digital.html
    branches/2.0/config/welcome.html

Modified: branches/2.0/config/trunks_digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/trunks_digital.html?view=diff&rev=3784&r1=3783&r2=3784
==============================================================================
--- branches/2.0/config/trunks_digital.html (original)
+++ branches/2.0/config/trunks_digital.html Tue Sep  9 12:05:17 2008
@@ -83,7 +83,7 @@
 			newRow.className = ((DOM_table_DigitalTrunks_list.rows.length)%2==1)?'odd':'even';
 			addCell( newRow , { html:'', width:'15px' });
 			addCell( newRow , { html: c[d]['trunkname'] });
-			addCell( newRow , { html: 'mISDN' });
+			addCell( newRow , { html: 'BRI' });
 			addCell( newRow , { html: c[d]['ports'] });
 			addCell( newRow , { html:''} );
 		}}

Modified: branches/2.0/config/welcome.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/welcome.html?view=diff&rev=3784&r1=3783&r2=3784
==============================================================================
--- branches/2.0/config/welcome.html (original)
+++ branches/2.0/config/welcome.html Tue Sep  9 12:05:17 2008
@@ -235,6 +235,31 @@
 		}}
 	})();
 
+	(function (){
+		var c = parent.sessionData.pbxinfo['trunks']['pri'] ;
+		for(var d in c){if(c.hasOwnProperty(d)){
+			var newRow = TBL.insertRow(-1);
+			newRow.className = ((TBL.rows.length)%2==1)?'odd':'even';
+			addCell( newRow , { html:'' });
+			addCell( newRow , { html: c[d]['trunkname'] });
+			addCell( newRow , { html: 'Digital (' + c[d]['signalling'] + ')' }); // 
+			addCell( newRow , { html: 'Ports: ' + c[d]['zapchan'] });
+			addCell( newRow , { html:''} );
+		}}
+
+
+		var c = parent.sessionData.pbxinfo['trunks']['bri'] ;
+		for(var d in c){if(c.hasOwnProperty(d)){
+			var newRow = TBL.insertRow(-1);
+			newRow.className = ((TBL.rows.length)%2==1)?'odd':'even';
+			addCell( newRow , { html:'' });
+			addCell( newRow , { html: c[d]['trunkname'] });
+			addCell( newRow , { html: 'BRI' });
+			addCell( newRow , { html: 'Ports: ' + c[d]['ports'] });
+			addCell( newRow , { html:''} );
+		}}
+	})();
+
 };
 
 var updateListingsTable = function(){




More information about the asterisk-gui-commits mailing list