bkruse: branch asterisknow r2746 - /branches/asterisknow/config/digital.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Mon Mar 31 12:49:42 CDT 2008
Author: bkruse
Date: Mon Mar 31 12:49:42 2008
New Revision: 2746
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2746
Log:
We need to make sure we set the correct value
in zaptel.conf for hdb3/crc4. ex:
span=3,0,0,ccs,hdb3,crc4
(closes issue #12340)
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=2746&r1=2745&r2=2746
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Mon Mar 31 12:49:42 2008
@@ -240,12 +240,12 @@
ASTGUI.selectbox.append(_$('editspan_fac'),'D4/AMI', 'D4/AMI');
}else{
ASTGUI.selectbox.append(_$('editspan_fac'),'CCS/HDB3', 'CCS/HDB3');
- ASTGUI.selectbox.append(_$('editspan_fac'),'CCS/CRC4/HDB3', 'CCS/CRC4/HDB3');
+ ASTGUI.selectbox.append(_$('editspan_fac'),'CCS/HDB3/CRC4', 'CCS/HDB3/CRC4');
}
if(SPANS[l]['framing'] && SPANS[l]['coding']) {
if( SPANS[l]['framing'] == 'CCS/CRC4' ){
- ASTGUI.selectbox.selectOption( _$('editspan_fac') , 'CCS/CRC4/HDB3' );
+ ASTGUI.selectbox.selectOption( _$('editspan_fac') , 'CCS/HDB3/CRC4' );
}else{
ASTGUI.selectbox.selectOption( _$('editspan_fac') , SPANS[l]['framing'] + '/' + SPANS[l]['coding'] );
}
@@ -731,9 +731,9 @@
var b = String(CURRENT_SPAN);
- if( _$('editspan_fac').value == 'CCS/CRC4/HDB3' ){
- SPANS[b]['framing'] = 'CCS/CRC4';
- SPANS[b]['coding'] = 'HDB3';
+ if( _$('editspan_fac').value == 'CCS/HDB3/CRC4' ){
+ SPANS[b]['framing'] = 'CCS/HDB3';
+ SPANS[b]['coding'] = 'CRC4';
}else{
SPANS[b]['framing'] = _$('editspan_fac').value.split('/')[0];
SPANS[b]['coding'] = _$('editspan_fac').value.split('/')[1];;
More information about the asterisk-gui-commits
mailing list