bkruse: trunk r1075 - in /trunk: config/ configs/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Jun 13 14:29:56 MST 2007


Author: bkruse
Date: Wed Jun 13 16:29:55 2007
New Revision: 1075

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1075
Log:
If I take away the username field, since its IP based authentication, I should probably take away the warning message also

Modified:
    trunk/config/trunks.html
    trunk/configs/providers.conf.sample

Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?view=diff&rev=1075&r1=1074&r2=1075
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Wed Jun 13 16:29:55 2007
@@ -179,7 +179,7 @@
 	var _msg3 = "When using Analog, at least one port must be selected.";
 	var _msg4 = "Please enter a Comment for this Service Provider";
 
-	if ( _tsv.checked && !_$('username').value.length ) { gui_alert(_msg1); return false; }
+	if ( _tsv.checked && !_$('username').value.length && _$('provider').value != "bandwidth") { gui_alert(_msg1); return false; }
 
 	if ( _tsa.checked ) {
 		var _zapchan = _$('zapchan');

Modified: trunk/configs/providers.conf.sample
URL: http://svn.digium.com/view/asterisk-gui/trunk/configs/providers.conf.sample?view=diff&rev=1075&r1=1074&r2=1075
==============================================================================
--- trunk/configs/providers.conf.sample (original)
+++ trunk/configs/providers.conf.sample Wed Jun 13 16:29:55 2007
@@ -20,6 +20,6 @@
 hassip = yes
 registeriax = no
 registersip = yes
-host = bandwidth.com
-;trunk_username = number
+host_in = 4.79.212.236
+host_out = 216.82.224.202 
 regurl = http://bandwidth.com



More information about the asterisk-gui-commits mailing list