lathama: branch 2.0 r5154 - /branches/2.0/config/js/pbx2.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Feb 1 07:48:44 CST 2011


Author: lathama
Date: Tue Feb  1 07:48:38 2011
New Revision: 5154

URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5154
Log:
subscribecontext off by one issue

Not validating correctly the value subscribecontext in sip.conf

(closes issue #18080)
Reported by: cjacobsen
Patches: 
      patch_apply_button.diff uploaded by cjacobsen (license 1029)
Tested by: lathama, cjacobsen

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

Modified: branches/2.0/config/js/pbx2.js
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/js/pbx2.js?view=diff&rev=5154&r1=5153&r2=5154
==============================================================================
--- branches/2.0/config/js/pbx2.js (original)
+++ branches/2.0/config/js/pbx2.js Tue Feb  1 07:48:38 2011
@@ -774,7 +774,7 @@
 	}
 
 	var sip_conf = listOfSynActions('sip.conf');
-	var sipconfig = config2json({filename: 'sip.conf', usf:0});
+	var sipconfig = config2json({filename: 'sip.conf', usf:1});
 	if (!sipconfig['general'].hasOwnProperty('subscribecontext')) {
 		sip_conf.new_action('append', 'general', 'subscribecontext', sip_changes['general']['subscribecontext']);
 	}




More information about the asterisk-gui-commits mailing list