pari: trunk r283 - in /trunk/config: numberplan.html trunks.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Mon Jan 22 14:21:15 MST 2007
Author: pari
Date: Mon Jan 22 15:21:15 2007
New Revision: 283
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=283
Log:
bug fix: trunk name is set to trunk_username from providers.conf ONLY IF a predefined service provider is selected
Modified:
trunk/config/numberplan.html
trunk/config/trunks.html
Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?view=diff&rev=283&r1=282&r2=283
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Mon Jan 22 15:21:15 2007
@@ -180,7 +180,7 @@
}
}
if(rules_nosp.length > 0 ){
- $('status').innerHTML = "Note: A Service Provider is not defined for the Rules <BR>" + rules_nosp ;
+ $('status').innerHTML = "Note: A Service Provider is not defined for the Rule(s) <BR>" + rules_nosp ;
$('trunks').selectedIndex = -1;
}
Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?view=diff&rev=283&r1=282&r2=283
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Mon Jan 22 15:21:15 2007
@@ -198,7 +198,7 @@
callbacks.beforeSaving = function(){
if(isnewtrunk ==1){
provider = $('provider').stored_config.catbyname[$('provider').value];
- if( typeof provider.fieldbyname['trunk_username'] != "undefined" ){
+ if( typeof provider.fieldbyname['trunk_username'] != "undefined" && $('trunkstylevoip').checked ){
$('name').value = provider.fieldbyname['trunk_username'];
}
dids_array.push($('name').value );
More information about the asterisk-gui-commits
mailing list