pari: trunk r1674 - /trunk/config/digital.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Oct 12 06:00:30 CDT 2007
Author: pari
Date: Fri Oct 12 06:00:29 2007
New Revision: 1674
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1674
Log:
define a group for each span
Modified:
trunk/config/digital.html
Modified: trunk/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/digital.html?view=diff&rev=1674&r1=1673&r2=1674
==============================================================================
--- trunk/config/digital.html (original)
+++ trunk/config/digital.html Fri Oct 12 06:00:29 2007
@@ -376,7 +376,7 @@
var uri2 = '';
var add_lines = function(){
// for each span update span with new values of 'switchtype', 'singalling'
- var c = 0, d ='', e ='', f=0 ;
+ var c = 0, d ='', e ='', f=0;
for( var k in SPANS ){ if( SPANS.hasOwnProperty(k) ){ if(SPANS[k]['signalling']){
d = 'span_'+ String(k);
e = asterisk_guiTDPrefix + d ;
@@ -385,8 +385,11 @@
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 , "context", e); c++;
+ uri += build_action('update', c, d , "group", String(k)); c++;
uri += build_action('update', c, d , "zapchan", SPANS[k]['zapchanstring'] ); c++;
+ uri2 += build_action('delete', f, 'globals', d, "", ""); f++;
+ uri2 += build_action('update', f, 'globals', d,'Zap/g'+String(k)); f++;
uri2 += build_action('delcat', f, e , "", ""); f++;
uri2 += build_action('newcat', f, e , "", ""); f++;
uri2 += build_action('update', f, e , 'include', 'default'); f++;
@@ -578,4 +581,4 @@
</div>
</body>
-</html>
+</html>
More information about the asterisk-gui-commits
mailing list