pari: trunk r289 - /trunk/config/incoming.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Tue Jan 23 15:27:31 MST 2007
Author: pari
Date: Tue Jan 23 16:27:31 2007
New Revision: 289
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=289
Log:
Tweak: Donot let the pattern get added as a named extension -- as Mark Dammer pointed out in http://forums.digium.com/viewtopic.php?t=12928
Modified:
trunk/config/incoming.html
Modified: trunk/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/incoming.html?view=diff&rev=289&r1=288&r2=289
==============================================================================
--- trunk/config/incoming.html (original)
+++ trunk/config/incoming.html Tue Jan 23 16:27:31 2007
@@ -238,6 +238,10 @@
alert("Please select an extension to which an incoming call should be routed to !");
$('toextension').focus();
return false;
+ }
+
+ if($('incomingrule').value == "frompattern" && $('frompattern').value.substr(0,1) != "_" ){
+ $('frompattern').value = "_" + $('frompattern').value ;
}
// create an entry under the selected trunk
@@ -304,6 +308,9 @@
return false;
}
+ if($('incomingrule').value == "frompattern" && $('frompattern').value.substr(0,1) != "_" ){
+ $('frompattern').value = "_" + $('frompattern').value ;
+ }
// old values before editing are - edit_pattern, edit_DIDtrunk, edit_action, edit_priority
// check for duplicate other than old
var p = 0 ;
More information about the asterisk-gui-commits
mailing list