pari: branch asterisknow r1791 - /branches/asterisknow/config/digital.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Nov 15 11:01:48 CST 2007
Author: pari
Date: Thu Nov 15 11:01:47 2007
New Revision: 1791
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1791
Log:
* in Users.conf Set hasiax, hassip to 'no' for spans
* correct typo in signalling
* do not define bchan and dchan (in zaptel.conf) if they are empty
-pari
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=1791&r1=1790&r2=1791
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Thu Nov 15 11:01:47 2007
@@ -517,6 +517,8 @@
uri += build_action('update', c, d , "trunkname", 'Span '+String(k)); c++;
uri += build_action('update', c, d , "trunkstyle", 'digital'); c++;
uri += build_action('update', c, d , "context", e); c++;
+ uri += build_action('update', c, d , "hassip", 'no'); c++;
+ uri += build_action('update', c, d , "hasiax", 'no'); c++;
if ( !SPANS[k]['signalling'].beginsWith('fxo') ){
uri += build_action('update', c, d , "group", String(k)); c++;
@@ -589,8 +591,12 @@
for( var e in fxx ){ if(fxx.hasOwnProperty(e)){
uri += build_action('append', c, context, e, fxx[e]); c++;
}}
- uri += build_action('append', c, context, 'bchan', bchanstring); c++;
- uri += build_action('append', c, context, 'dchan', dchanstring); c++;
+ if(bchanstring.strip()){
+ uri += build_action('append', c, context, 'bchan', bchanstring); c++;}
+ }
+ if(dchanstring.strip()){
+ uri += build_action('append', c, context, 'dchan', dchanstring); c++;
+ }
uri += build_action('append', c, context, 'loadzone', _$('loadZone').value); c++;
uri += build_action('append', c, context, 'defaultzone', 'us'); c++;
}();
@@ -680,8 +686,8 @@
<TD> <select id="editspan_signalling" onChange="disablEnable_sc();">
<option value="pri_net">PRI - Net</option>
<option value="pri_cpe">PRI - CPE</option>
- <option value="fxoks">FXOKS</option>
- <option value="fxols">FXOLS</option>
+ <option value="fxo_ks">FXOKS</option>
+ <option value="fxo_ls">FXOLS</option>
<!--<option value="fxsks">FXSKS</option>
<option value="fxsls">FXSLS</option>-->
</select>
More information about the asterisk-gui-commits
mailing list