rbrindley: branch 2.0 r4751 - /branches/2.0/config/js/sip.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Apr 21 09:36:01 CDT 2009


Author: rbrindley
Date: Tue Apr 21 09:35:58 2009
New Revision: 4751

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

- fixed an issue where codecs shown in sip settings weren't matching sip.conf


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

Modified: branches/2.0/config/js/sip.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/sip.js?view=diff&rev=4751&r1=4750&r2=4751
==============================================================================
--- branches/2.0/config/js/sip.js (original)
+++ branches/2.0/config/js/sip.js Tue Apr 21 09:35:58 2009
@@ -61,7 +61,7 @@
 	var disallowed = false;
 	var real_codecs;
 	ASTGUI.CODECSLIST.populateCodecsList(_$('allow'));
-	if( c.hasOwnProperty('allow') ){ real_codecs = c['array']; }
+	if( c.hasOwnProperty('allow') ){ real_codecs = c['allow']; }
 	if( c.hasOwnProperty('disallow') ) { disallowed = c['disallow'].split(','); } 
 	var default_selected = ['ulaw','alaw','gsm'];
 	default_selected.each( function(val) {




More information about the asterisk-gui-commits mailing list