pari: branch asterisknow r1986 - /branches/asterisknow/config/digital.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Dec 13 19:41:33 CST 2007


Author: pari
Date: Thu Dec 13 19:41:33 2007
New Revision: 1986

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1986
Log:
fixed another critical bug in digital.html that's causing wrong values in zaptel.conf

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=1986&r1=1985&r2=1986
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Thu Dec 13 19:41:33 2007
@@ -700,7 +700,12 @@
 
 				var ppp = calc_bchan_fxx(k);
 				if ( SPANS[k]['signalling'].beginsWith('fx') ){ 
-					fxx[ (SPANS[k]['signalling']).replace('_','') ] = ((fxx[SPANS[k]['signalling']])? fxx[SPANS[k]['signalling']] + ",":"") + ppp;
+					var qqq = (SPANS[k]['signalling']).replace('_',''); // zaptel.conf uses fxoks instead of fxo_ks
+					if(fxx[ qqq ]){
+						fxx[ qqq ] = fxx[ qqq ] + "," + ppp;
+					}else{
+						fxx[ qqq ] = ppp;
+					}
 				}else{
 					bchanstring += tmp2 + ppp;
 					dchanstring += tmp3 + SPANS[k]['reserved_ch'];




More information about the asterisk-gui-commits mailing list