pari: branch asterisknow r1895 - /branches/asterisknow/config/digital.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Dec 4 15:14:06 CST 2007
Author: pari
Date: Tue Dec 4 15:14:05 2007
New Revision: 1895
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1895
Log:
set the right lbo
Modified:
branches/asterisknow/config/digital.html
Modified: branches/asterisknow/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/digital.html?view=diff&rev=1895&r1=1894&r2=1895
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Tue Dec 4 15:14:05 2007
@@ -352,7 +352,26 @@
SPANS[l]['definedchans'] = 1; // default value
}
if( k == 'lbo' ) {
- //if(n[l][k] == "(null)") { SPANS[l]['lbo'] = 0; }
+ switch(n[l][k]){
+ case '0 db (CSU)/0-133 feet (DSX-1)':
+ SPANS[l]['lbo'] = 0; break;
+ case '133-266 feet (DSX-1)':
+ SPANS[l]['lbo'] = 1; break;
+ case '266-399 feet (DSX-1)':
+ SPANS[l]['lbo'] = 2; break;
+ case '399-533 feet (DSX-1)':
+ SPANS[l]['lbo'] = 3; break;
+ case '533-655 feet (DSX-1)':
+ SPANS[l]['lbo'] = 4; break;
+ case '-7.5db (CSU)':
+ SPANS[l]['lbo'] = 5; break;
+ case '-15db (CSU)':
+ SPANS[l]['lbo'] = 6; break;
+ case '-22.5db (CSU)':
+ SPANS[l]['lbo'] = 7; break;
+ default:
+ SPANS[l]['lbo'] = 0; break;
+ }
}
}}
}}
More information about the asterisk-gui-commits
mailing list