rbrindley: branch 2.0 r4812 - /branches/2.0/config/js/hardware_dahdi.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Jun 1 12:12:01 CDT 2009


Author: rbrindley
Date: Mon Jun  1 12:11:58 2009
New Revision: 4812

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4812
Log:

- fixed an issue where the gui tried to configure a BRI card as if it was
  a PRI card


Modified:
    branches/2.0/config/js/hardware_dahdi.js

Modified: branches/2.0/config/js/hardware_dahdi.js
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/js/hardware_dahdi.js?view=diff&rev=4812&r1=4811&r2=4812
==============================================================================
--- branches/2.0/config/js/hardware_dahdi.js (original)
+++ branches/2.0/config/js/hardware_dahdi.js Mon Jun  1 12:11:58 2009
@@ -983,10 +983,10 @@
 			tmp2 = (bchanstring)? ",":"";
 			tmp3 = (dchanstring)? ",":"";
 			var ppp = calc_bchan_fxx(k);
-			if ( !SPANS[k]['signalling'].beginsWith('pri') ){
+			if ( SPANS[k]['signalling'].beginsWith('pri') ){
 				if(SPANS[k]['signalling'].beginsWith('fx')){ 
 					var qqq = (SPANS[k]['signalling']).replace('_',''); // zaptel.conf uses fxoks instead of fxo_ks
-				}else{
+				} else {
 					var qqq = 'e&m'; // zaptel.conf uses fxoks instead of fxo_ks
 				}
 




More information about the asterisk-gui-commits mailing list