bkruse: branch asterisknow r2251 - /branches/asterisknow/config/digital.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Feb 4 09:10:42 CST 2008


Author: bkruse
Date: Mon Feb  4 09:10:42 2008
New Revision: 2251

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2251
Log:
A) Fixed the fact that the digital page would set
switchtype on analog ports. (Could this interfere
with t1 channelbanks?)

B) Properly setting and giving the user the kewlstart
options.

(closes issue #11906)

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=2251&r1=2250&r2=2251
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Mon Feb  4 09:10:42 2008
@@ -838,7 +838,10 @@
 				e = asterisk_guiTDPrefix + d ;
 				uri += build_action('delcat', c, d , "", ""); c++;
 				uri += build_action('newcat', c, d , "", ""); c++;
-				uri += build_action('update', c, d , "switchtype", SPANS[k]['switchtype']); c++;
+				if ( !SPANS[k]['signalling'].beginsWith('fx') ){ 
+					// we do not want a switchtype to be set for channelized T1/E1 interfaces
+					uri += build_action('update', c, d , "switchtype", SPANS[k]['switchtype']); c++;
+				}
 				uri += build_action('update', c, d , "signalling", SPANS[k]['signalling']); c++;
 				uri += build_action('update', c, d , "trunkname", 'Span '+String(k)); c++;
 				uri += build_action('update', c, d , "trunkstyle", 'digital'); c++;
@@ -1076,8 +1079,8 @@
 			<option value="pri_cpe">PRI - CPE</option>
 			<option value="fxo_ks">FXOKS</option>
 			<option value="fxo_ls">FXOLS</option>
-			<!--<option value="fxsks">FXSKS</option>
-			<option value="fxsls">FXSLS</option>-->
+			<option value="fxs_ks">FXSKS</option>
+			<option value="fxs_ls">FXSLS</option>
 			</select>
 		</TD>
 	</TR>




More information about the asterisk-gui-commits mailing list