pari: trunk r142 - /trunk/config/trunks.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Dec 1 13:16:02 MST 2006


Author: pari
Date: Fri Dec  1 14:16:02 2006
New Revision: 142

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=142
Log:
BugFix: Custom-voip provider has provider = iaxtel

Modified:
    trunk/config/trunks.html

Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?view=diff&rev=142&r1=141&r2=142
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Fri Dec  1 14:16:02 2006
@@ -110,6 +110,12 @@
 			$('hiddenglobals').stored_config.catbyname['globals'].fieldbyname[value] = null;
 			return true;
 		}
+	}
+
+	callbacks.beforeSaving = function(){
+				if (	$('trunkstylecustomvoip').checked) {
+						//
+				}
 	}
 
 	callbacks.savechanges = function() {
@@ -222,6 +228,7 @@
 						// Custom VOIP Provider
 						$('trunkname').value = "Custom - " + $('customvoip_name').value;
 						provider = $('customvoip_name').value;
+						$('provider').selectedIndex  = -1;
 						$('username').value = $('customvoip_username').value;
 						$('secret').value = $('customvoip_secret').value;
 						if( $('customvoip_protocol').value == "iax" ){



More information about the asterisk-gui-commits mailing list