pari: branch 2.0 r4133 - /branches/2.0/config/js/pbx.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Nov 18 13:42:10 CST 2008
Author: pari
Date: Tue Nov 18 13:42:09 2008
New Revision: 4133
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4133
Log:
Comment out any demo context included in the default context in extensions.conf
Modified:
branches/2.0/config/js/pbx.js
Modified: branches/2.0/config/js/pbx.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/pbx.js?view=diff&rev=4133&r1=4132&r2=4133
==============================================================================
--- branches/2.0/config/js/pbx.js (original)
+++ branches/2.0/config/js/pbx.js Tue Nov 18 13:42:09 2008
@@ -152,6 +152,11 @@
UPDATES.new_action( 'append', contextName , this_prop, tmp_context_obj[this_prop] );
}
}
+ }
+
+ if( EXN_CNF.hasOwnProperty('default') && EXN_CNF['default'].contains('include=demo') ){
+ UPDATES.new_action('delete', 'default', 'include', '', 'demo');
+ UPDATES.new_action('append', 'default', ';include', 'demo ; This line was commented by ASTERISK GUI');
}
if( UPDATES.current_batch == 1 && UPDATES.current_batch_actionnumber == 0 ){ // no updates to extensions.conf
More information about the asterisk-gui-commits
mailing list