rbrindley: branch 2.0 r4719 - /branches/2.0/config/js/pbx2.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Apr 8 10:12:53 CDT 2009


Author: rbrindley
Date: Wed Apr  8 09:38:26 2009
New Revision: 4719

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4719
Log:

- disallow before allow


Modified:
    branches/2.0/config/js/pbx2.js

Modified: branches/2.0/config/js/pbx2.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/pbx2.js?view=diff&rev=4719&r1=4718&r2=4719
==============================================================================
--- branches/2.0/config/js/pbx2.js (original)
+++ branches/2.0/config/js/pbx2.js Wed Apr  8 09:38:26 2009
@@ -1236,10 +1236,10 @@
 		sessionData.pbxinfo.trunks[type][name][v] = trunk[v];
 		users_conf.new_action('append', name, v, trunk[v]);
 	}
+	sessionData.pbxinfo.trunks[type][name]['disallow'] = trunk['disallow'];
+	users_conf.new_action('append', name, 'disallow', trunk['disallow']);
 	sessionData.pbxinfo.trunks[type][name]['allow'] = trunk['allow'];
 	users_conf.new_action('append', name, 'allow', trunk['allow']);
-	sessionData.pbxinfo.trunks[type][name]['disallow'] = trunk['disallow'];
-	users_conf.new_action('append', name, 'disallow', trunk['disallow']);
 
 	/* TODO: get listOfActions to return a response so we know everythings ok! */
 	users_conf.callActions(function(){});




More information about the asterisk-gui-commits mailing list