bkruse: branch asterisknow r2036 - /branches/asterisknow/config/users.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Dec 21 16:46:40 CST 2007


Author: bkruse
Date: Fri Dec 21 16:46:39 2007
New Revision: 2036

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2036
Log:
This is a better way to do it, thanks pari!

Modified:
    branches/asterisknow/config/users.html

Modified: branches/asterisknow/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/users.html?view=diff&rev=2036&r1=2035&r2=2036
==============================================================================
--- branches/asterisknow/config/users.html (original)
+++ branches/asterisknow/config/users.html Fri Dec 21 16:46:39 2007
@@ -29,7 +29,7 @@
 var callbacks = new Object;
 var extencallbacks = new Object;
 var allcodecs = new Array;
-var fieldnames = ['signalling', 'callwaiting' ,'cancel' ,'cid_number' ,'context' ,'delete' ,'email' ,'fullname' ,'group' ,'hasagent' ,'hasdirectory' ,'hasiax' ,'hasmanager' ,'hassip' ,'hasvoicemail' ,'deletevoicemail' ,'host' ,'mailbox' ,'name' ,'new' ,'save' ,'secret' ,'threewaycalling' ,'vmsecret' ,'zapchan', 'registeriax', 'registersip','macaddress','autoprov','label','canreinvite','nat','dtmfmode', 'disallow','allow', 'insecure'];
+var fieldnames = ['callwaiting' ,'cancel' ,'cid_number' ,'context' ,'delete' ,'email' ,'fullname' ,'group' ,'hasagent' ,'hasdirectory' ,'hasiax' ,'hasmanager' ,'hassip' ,'hasvoicemail' ,'deletevoicemail' ,'host' ,'mailbox' ,'name' ,'new' ,'save' ,'secret' ,'threewaycalling' ,'vmsecret' ,'zapchan', 'registeriax', 'registersip','macaddress','autoprov','label','canreinvite','nat','dtmfmode', 'disallow','allow', 'insecure'];
 
 var localextenlength = 4;
 var allow_aliasextns = "no";
@@ -156,7 +156,6 @@
 	var x;
 	var _devices = _$('devices');
 	gen = _devices.stored_config.catbyname['general'];
-	gen.fieldbyname['signalling'] = 'fxo_ks';
 	gen.fieldbyname['allow'] = 'all';
 	gen.fieldbyname['disallow'] = 'all';
 
@@ -175,6 +174,7 @@
 		}
 	}
 	tmp.name = x
+	tmp.signalling = "fxo_ks";
 
 	return tmp;
 }
@@ -514,7 +514,6 @@
 				<tr><td class="field_text" tip="en,users,3">E-mail:</td><td><input size='20' id='email' pattern='^[0-9a-zA-Z\.\-\_\@]*$' class="input8"></td></tr>
 				<tr><td class="field_text" tip="en,users,4">Caller ID:</td><td><input size='12' id='cid_number'  pattern='^[\d\-]*$' class="input8"></td></tr>
 				<tr><td class="field_text" tip="en,users,5">Analog Phone:</td><td><select size="1" id='zapchan' style='width:140px' class="input8"></select>
-				<tr><td style="display:none" class="field_text">Signalling:</td><td><input style="display:hidden" name="signalling" size="1" type="hidden" value="fxo_ks" id='signalling' class="input8">
 				<span id="noanaloglines" style="display:none" class="field_text"><I>&nbsp;No Analog lines detected.</I></span></td></tr>
 				<tr><td class="field_text" tip="en,users,6">Dial Plan:</td><td><select size='1' id='context' style='width:120px' class="input8"></select></td></tr>
 




More information about the asterisk-gui-commits mailing list